CVE-2020-26272
IPC messages delivered to the wrong frame in Electron
Overview
Description
The Electron framework lets users write cross-platform desktop applications using JavaScript, HTML and CSS. In versions of Electron IPC prior to 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9, messages sent from the main process to a subframe in the renderer process, through webContents.sendToFrame, event.reply or when using the remote module, can in some cases be delivered to the wrong frame. If your app uses remote, calls webContents.sendToFrame, or calls event.reply in an IPC message handler then it is impacted by this issue. This has been fixed in versions 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9. There are no known workarounds for this issue.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-668
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | <9.4.0>=10.0.0, <10.2.0>=11.0.0, <11.1.0 | 9.4.010.2.011.1.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c
- github.com https://github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208
- github.com https://github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2
- github.com https://github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4cc
- github.com https://github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9dedd
- github.com https://github.com/electron/electron/pull/26875
- github.com https://github.com/electron/electron/releases/tag/v9.4.0
- github.com https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-26272
- www.electronjs.org https://www.electronjs.org/releases/stable?version=9#9.4.0
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.