Paper/Archive/CVE-2020-4077

CVE-2020-4077

electron electron — Context isolation bypass via contextBridge in Electron

Description · from the CVE record

In 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.

Affected

ProductAffectedFixed inSource
electron>= 9.0.0-beta.0, <= 9.0.0-beta.20–CNA
electron>= 8.0.0, < 8.2.4–CNA
electron< 7.2.4–CNA

Scores by source

NVD9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub_M (CNA)7.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

References

refgithub.com/electron/electron/security/advisories/GHSA-h9jc-284h-533grefelectronjs.org/releases/stable?page=3#release-notes-for-v824