Improper input validation in Electron

CVE-2022-29257

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.009 (60.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-29257: held from 0.009 to 0.009.

EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: +0.000

Affected products

  • Electron — versions < 15.5.5, >= 16.0.0-beta.1, < 16.2.6, >= 17.0.0-beta.1, < 17.2.0
  • Electronjs Electron — versions 16.0.0, 17.0.0, 18.0.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-29257?
CVE-2022-29257 is a medium-severity vulnerability in Electron, classified under Improper Input Validation. CVSS score: 6.6/10. Published 2022-06-13.
How severe is CVE-2022-29257?
Medium severity. CVSS v3 base score is 6.6 out of 10.