Vulnerability · Published Jul 7, 2020 · Assigned by GitHub_M

CVE-2020-15096Context isolation bypass via Promise in Electron

Medium 6.8

In plain English

A medium-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.8%top 42.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using "contextIsolation" are affected. There are no app-side workarounds, you must update your Electron version to be protected. This is fixed in versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron6.1.11GHSA-6vrv-94jv-crrg
npmelectron7.2.4GHSA-6vrv-94jv-crrg
npmelectron8.2.4GHSA-6vrv-94jv-crrg

Affected products (as reported)

VendorProductVersions
electron electron < 6.1.1>= 7.0.0, < 7.2.4>= 8.0.0, < 8.2.4>=9.0.0-beta.0, < 9.0.0-beta.21

Weakness: CWE-501 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

References