Vulnerability · Published Jul 7, 2020 · Assigned by GitHub_M
CVE-2020-4076Context isolation bypass via leaked cross-context objects in Electron
High 7.8
In plain English
A high-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 7.2.4 | GHSA-m93v-9qjc-3g79 |
| npm | electron | 8.2.4 | GHSA-m93v-9qjc-3g79 |
Affected products (as reported)
Weakness: CWE-501 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
References
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 x_refsource_MISC
- https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79 x_refsource_CONFIRM