Electron's AutoUpdater module fails to validate certain nested components of the bundle (electron electron)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.92 % Β· percentile 60 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-20 β Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-77xc-hjv8-ww97 β AutoUpdater module fails to validate certain nested components of the bundle
European references
- ENISA EUVD Β· EUVD-2022-5978
- GCVE Β· GCVE-0-2022-29257
Affected configurations (NVD CPE)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*< 15.5.0cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*β₯ 16.0.1 < 16.2.0cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*β₯ 17.0.1 < 17.2.0cpe:2.3:a:electronjs:electron:16.0.0:beta1:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta2:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta3:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta4:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta5:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta6:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta7:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta8:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:16.0.0:beta9:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta1:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta2:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta3:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta4:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta5:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta6:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta7:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta8:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:17.0.0:beta9:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:18.0.0:beta1:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:18.0.0:beta2:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:18.0.0:beta3:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:18.0.0:beta4:*:*:*:*:*:*cpe:2.3:a:electronjs:electron:18.0.0:beta5:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| electron Β· electron | affected < 15.5.5 ; affected >= 16.0.0-beta.1, < 16.2.6 ; affected >= 17.0.0-beta.1, < 17.2.0 ; affected >= 18.0.0-beta.1, <= 18.0.0-beta.5 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |