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

CVE-2022-29257
MEDIUM 6.6

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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.6CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HGitHub_M
CVSS 3.1MEDIUM 6.6CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD Β· security-advisories@github.com (Secondary)
CVSS 3.1HIGH 7.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD Β· nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 6.5AV:N/AC:L/Au:S/C:P/I:P/A:PNVD Β· nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
electron Β· electronaffected < 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD