CVE-2020-26272: Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs
Impact IPC 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 does ANY of the following, then it is impacted by this issue: - Uses remote - Calls webContents.sendToFrame - Calls event.reply in an IPC message handler
Patches This has been fixed in the following versions:
- 9.4.0 - 10.2.0 - 11.1.0 - 12.0.0-beta.9
Workarounds There are no workarounds for this issue.
For more information If you have any questions or comments about this advisory, email us at security@electronjs.org.
Other sources
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.
— MITRE
The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. In affected versions of Electron IPC 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 workarounds for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2020-26272?
CVE-2020-26272 has been assigned a medium severity rating.
How do I fix CVE-2020-26272?
To fix CVE-2020-26272, update Electron to version 9.4.0 or later.
Which versions are affected by CVE-2020-26272?
CVE-2020-26272 affects Electron versions from 9.0.0 to 11.1.0, including specific beta versions.
What type of vulnerability is CVE-2020-26272?
CVE-2020-26272 is an inter-process communication (IPC) vulnerability in Electron.
Does CVE-2020-26272 affect all Electron applications?
CVE-2020-26272 may affect any Electron application that utilizes the IPC messaging features between the main process and renderer process.