Path to vulnerable library: /app/node_modules/@types/electron-clipboard-extended/node_modules/electron/package.json,/node_modules/@types/electron-clipboard-extended/node_modules/electron/package.json
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.
CVE-2020-4075 - High Severity Vulnerability
Vulnerable Library - electron-6.1.12.tgz
Build cross platform desktop apps with JavaScript, HTML, and CSS
Library home page: https://registry.npmjs.org/electron/-/electron-6.1.12.tgz
Path to dependency file: /app/package.json
Path to vulnerable library: /app/node_modules/@types/electron-clipboard-extended/node_modules/electron/package.json,/node_modules/@types/electron-clipboard-extended/node_modules/electron/package.json
Dependency Hierarchy: - electron-clipboard-extended-1.0.1.tgz (Root Library) - :x: **electron-6.1.12.tgz** (Vulnerable Library)
Found in HEAD commit: e27daa8031a2241fe07aae269c0590e5ca54e409
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2020-07-07
URL: CVE-2020-4075
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
Release Date: 2020-07-13
Fix Resolution: 7.2.4,8.2.4,9.0.0-beta.21
Step up your Open Source Security Game with WhiteSource here