CVE-2020-4075
July 07, 2020
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.
Affected Packages
electron (NPM):
Affected version(s) >=8.0.0 <8.2.4Fix Suggestion:
Update to version 8.2.4electron (NPM):
Affected version(s) >=0.1.0 <7.2.4Fix Suggestion:
Update to version 7.2.4Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
2.1
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Weakness Type (CWE)
Files or Directories Accessible to External Parties
EPSS
Base Score:
0.26