CVE-2020-4075
Arbitrary file read via window-open IPC in Electron
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
En Electron antes de las versiones 7.2.4, 8.2.4 y 9.0.0-beta21, una lectura arbitraria de archivos locales es posible al definir opciones de ventana no seguras en una ventana secundaria abierta por medio de window.open. Como solución alternativa, asegúrense de llamar a la función "event.preventDefault()" en todos los eventos de ventanas nuevas donde la "url" u "options" no es algo que se espera. Esto es corregido en las versiones 9.0.0-beta.21, 8.2.4 y 7.2.4
CVSS Scores
SSVC
- Decision:-
Timeline
- 2019-12-30 CVE Reserved
- 2020-07-07 CVE Published
- 2023-03-22 EPSS Updated
- 2024-08-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-552: Files or Directories Accessible to External Parties
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 | 2020-07-13 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | >= 7.0.0 < 7.2.4 Search vendor "Electronjs" for product "Electron" and version " >= 7.0.0 < 7.2.4" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | >= 8.0.0 < 8.2.4 Search vendor "Electronjs" for product "Electron" and version " >= 8.0.0 < 8.2.4" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta1 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta10 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta11 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta12 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta13 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta14 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta15 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta16 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta17 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta18 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta19 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta2 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta20 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta3 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta4 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta5 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta6 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta7 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta8 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 9.0.0 Search vendor "Electronjs" for product "Electron" and version "9.0.0" | beta9 |
Affected
|