9.9
CRITICAL
CVE-2020-4077
Electron Context Isolation Bypass Vulnerability
Description

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. 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 :

July 13, 2020, 7:51 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2020-4077 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-4077.

URL Resource
https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g 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-4077 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-4077 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 [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:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g 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 NVD-CWE-Other
    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, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. 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, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. 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-4077 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-4077 weaknesses.

Exploit Prediction

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

0.10 }} 0.00%

score

0.40900

percentile

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