Vulnerability · Published Jun 13, 2022 · Assigned by GitHub_M

CVE-2022-29257Electron's AutoUpdater module fails to validate certain nested components of the bundle

Medium 6.6

In plain English

A medium-severity improper input validation 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.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.9%top 39.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components. This kind of attack would require significant privileges in a potential victim's own auto updating infrastructure and the ease of that attack entirely depends on the potential victim's infrastructure security. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. There are no known workarounds.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron15.5.0GHSA-77xc-hjv8-ww97
npmelectron16.2.0GHSA-77xc-hjv8-ww97
npmelectron17.2.0GHSA-77xc-hjv8-ww97
npmelectron18.0.0-beta.6GHSA-77xc-hjv8-ww97

Affected products (as reported)

VendorProductVersions
electron electron < 15.5.5>= 16.0.0-beta.1, < 16.2.6>= 17.0.0-beta.1, < 17.2.0>= 18.0.0-beta.1, <= 18.0.0-beta.5

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

References