Context isolation bypass via contextBridge in Electron (electron electron)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.00 % · percentile 63 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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 both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Weaknesses (CWE)
- CWE-501 — Trust Boundary Violation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-h9jc-284h-533g — Context isolation bypass via contextBridge in Electron
European references
- ENISA EUVD · EUVD-2020-0558
- GCVE · GCVE-0-2020-4077
Affected configurations (NVD CPE)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*≥ 7.0.0 < 7.2.4cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.2.4cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| electron · electron | affected >= 9.0.0-beta.0, <= 9.0.0-beta.20 ; affected >= 8.0.0, < 8.2.4 ; affected < 7.2.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |