ghsa-f9mq-jph6-9mhm
Vulnerability from github
Published
2020-07-07 00:01
Modified
2021-01-07 23:48
Severity ?
Summary
Arbitrary file read via window-open IPC in Electron
Details
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: * Email us at security@electronjs.org
{ "affected": [ { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "7.2.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "8.0.0" }, { "fixed": "8.2.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-4075" ], "database_specific": { "cwe_ids": [ "CWE-552" ], "github_reviewed": true, "github_reviewed_at": "2020-07-06T23:54:56Z", "nvd_published_at": null, "severity": "MODERATE" }, "details": "### Impact\nThe vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.\n\n### Workarounds\nEnsure you are calling `event.preventDefault()` on all [`new-window`](https://electronjs.org/docs/api/web-contents#event-new-window) events where the `url` or `options` is not something you expect.\n\n### Fixed Versions\n* `9.0.0-beta.21`\n* `8.2.4`\n* `7.2.4`\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@electronjs.org](mailto:security@electronjs.org)", "id": "GHSA-f9mq-jph6-9mhm", "modified": "2021-01-07T23:48:36Z", "published": "2020-07-07T00:01:13Z", "references": [ { "type": "WEB", "url": "https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-4075" }, { "type": "WEB", "url": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Arbitrary file read via window-open IPC in Electron" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.