Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
electronnpm | < 9.4.0 | 9.4.0 |
electronnpm | >= 10.0.0, < 10.2.0 | 10.2.0 |
electronnpm | >= 11.0.0, < 11.1.0 | 11.1.0 |
Affected products
2- Range: < 9.4.0
Patches
Vulnerability mechanics
References
11- github.com/advisories/GHSA-hvf8-h2qh-37m9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-26272ghsaADVISORY
- github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73cghsax_refsource_MISCWEB
- github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208ghsax_refsource_MISCWEB
- github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2ghsax_refsource_MISCWEB
- github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4ccghsax_refsource_MISCWEB
- github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9deddghsax_refsource_MISCWEB
- github.com/electron/electron/pull/26875ghsax_refsource_MISCWEB
- github.com/electron/electron/releases/tag/v9.4.0ghsax_refsource_MISCWEB
- github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9ghsax_refsource_CONFIRMWEB
- www.electronjs.org/releases/stableghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.