Paper/Archive/CVE-2020-4076

CVE-2020-4076

electron electron — Context isolation bypass via leaked cross-context objects 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 contextIsolation 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.0CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
GitHub_M (CNA)7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

References

refelectronjs.org/releases/stable?page=3#release-notes-for-v824refgithub.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79