Vulnerability · Published Jan 28, 2021 · Assigned by GitHub_M

CVE-2020-26272Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs

Medium 5.4

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 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

The Electron framework lets users write cross-platform desktop applications using JavaScript, HTML and CSS. In versions of Electron IPC prior to 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9, messages sent from the main process to a subframe in the renderer process, through webContents.sendToFrame, event.reply or when using the remote module, can in some cases be delivered to the wrong frame. If your app uses remote, calls webContents.sendToFrame, or calls event.reply in an IPC message handler then it is impacted by this issue. This has been fixed in versions 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9. There are no known workarounds for this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron9.4.0GHSA-hvf8-h2qh-37m9
npmelectron10.2.0GHSA-hvf8-h2qh-37m9
npmelectron11.1.0GHSA-hvf8-h2qh-37m9

Affected products (as reported)

VendorProductVersions
electron electron < 9.4.0>= 10.0.0, < 10.2.0>= 11.0.0, < 11.1.0

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

References