Context isolation bypass via contextBridge in Electron
cve-program · CVE-2020-4077
PublishedIn Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Read the publisher's advisoryeuvd · EUVD-2020-0558
PublishedIn Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Read the publisher's advisorynvd · CVE-2020-4077
PublishedIn Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Read the publisher's advisoryosv · GHSA-h9jc-284h-533g
Published### Impact Apps using both `contextIsolation` and `contextBridge` are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. ### Workarounds There are no app-side workarounds, you must update your Electron version to be protected. ### Fixed Versions * `9.0.0-beta.21` * `8.2.4` * `7.2.4` ### For more information If you have any questions or comments about this advisory: * Email us at [[email protected]](mailto:[email protected])
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-4077 · CVE overview and exploitation status
cve-program · CVE-2020-4077
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
euvd · EUVD-2020-0558
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
nvd · CVE-2020-4077
- https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
osv · GHSA-h9jc-284h-533g
Related changes
Linked by CVE identifierNo related changes are available here.