CVE-2022-29257 json
Electron's AutoUpdater module fails to validate certain nested components of the bundle
published 2022-06-13 4 y ago modified 2026-06-17 4 mo ago also GHSA-77xc-hjv8-ww97 , EUVD-2022-5978
- cvss
- 6.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 15.5.0, 16.2.0, 17.2.0, 18.0.0-beta.6
- electronjs electron 15.5.0, 16.2.0, 17.2.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <15.5.0 >=16.0.0, <16.2.0 >=17.0.0, <17.2.0 >=18.0.0-beta.1, <18.0.0-beta.6 |
15.5.0 16.2.0 17.2.0 18.0.0-beta.6 |
Affected products
- electron electron
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/electron/electron/security/advisories/GHSA-77xc-hjv8-ww97
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29257
advisory
-
github.com
/electron/electron
package
Sources
- CVE List CVE-2022-29257
- GitHub Advisory GHSA-77xc-hjv8-ww97
- NVD CVE-2022-29257
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.