原始 OSV JSON
{
"id": "GHSA-f9mq-jph6-9mhm",
"aliases": [
"CVE-2020-4075"
],
"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 [[email protected]](mailto:[email protected])",
"summary": "Arbitrary file read via window-open IPC in Electron",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.2.4"
}
]
}
],
"package": {
"name": "electron",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.2.4"
}
]
}
],
"package": {
"name": "electron",
"ecosystem": "npm"
}
}
],
"modified": "2021-01-07T23:48:36Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
}
],
"published": "2020-07-07T00:01:13Z",
"references": [
{
"url": "https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-4075",
"type": "ADVISORY"
},
{
"url": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-552"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-07-06T23:54:56Z"
}
}