En bref
- CVE-2020-4075 est une vulnérabilité ÉLEVÉE (CVSS 7.5) touchant electron (electronjs), electron.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 1.2%, plus élevée que 67.6% des vulnérabilités.
- Correctif : mettre à jour vers 7.2.4, 8.2.4 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| electron | = 9.0.0≥ 7.0.0, < 7.2.4≥ 8.0.0, < 8.2.4
| 7.2.48.2.4
|
| electron npm | ≥ 8.0.0, < 8.2.4< 7.2.4
| 8.2.47.2.4
|
Description
Impact
The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
Workarounds
Ensure you are calling event.preventDefault() on all new-window events where the url or options is not something you expect.
Fixed Versions
9.0.0-beta.21
8.2.4
7.2.4
For more information
If you have any questions or comments about this advisory:
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free