Arbitrary file read via window-open IPC in Electron (electron electron)
En bref
- Source
- NVD
- EPSS
- EPSS 1.18 % · centile 68 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Modified
Description
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.
Faiblesses (CWE)
- CWE-552 — Fichiers ou répertoires accessibles à des tiers
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-f9mq-jph6-9mhm — Arbitrary file read via window-open IPC in Electron
Références européennes
- ENISA EUVD · EUVD-2020-0553
- GCVE · GCVE-0-2020-4075
Configurations affectées (CPE NVD)
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:*:*:*:*:*:*
Produits affectés
| Produit | 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 |