CVE-2022-29257

Electron's AutoUpdater module fails to validate certain nested components of the bundle

State
Published
Severity
6.6 Medium
Published
Jun 13, 2022
Updated
Apr 23, 2025
Reserved
Apr 13, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
electronelectron
  • < 15.5.5Affected
  • >= 16.0.0-beta.1, < 16.2.6Affected
  • >= 17.0.0-beta.1, < 17.2.0Affected
  • >= 18.0.0-beta.1, <= 18.0.0-beta.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.