7.5
HIGH
CVE-2020-4075
Electron Unvalidated Local File Read Vulnerability
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.

INFO

Published Date :

July 7, 2020, 12:15 a.m.

Last Modified :

Nov. 21, 2024, 5:32 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2020-4075 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Electronjs electron
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-4075.

URL Resource
https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm Third Party Advisory
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 Release Notes Vendor Advisory
https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm Third Party Advisory
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-4075 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-4075 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
    Added Reference https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 13, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm Third Party Advisory
    Changed Reference Type https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 No Types Assigned https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 Release Notes, Vendor Advisory
    Added CWE NIST CWE-552
    Added CPE Configuration OR *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.2.4 *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.2.4 *cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 07, 2020

    Action Type Old Value New Value
    Changed 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. 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-4075 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-4075 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} -0.03%

score

0.51419

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability