{"id":"GHSA-77xc-hjv8-ww97","summary":"AutoUpdater module fails to validate certain nested components of the bundle","details":"### Impact\nThis vulnerability 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.\n\nPlease note that this kind of attack would require **significant** privileges in your own auto updating infrastructure and the ease of that attack entirely depends on your infrastructure security.\n\n### Patches\nThis has been patched and the following Electron versions contain the fix:\n\n* `18.0.0-beta.6`\n* `17.2.0`\n* `16.2.0`\n* `15.5.0`\n\n### Workarounds\nThere are no workarounds for this issue, please update to a patched version of Electron.\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)","aliases":["CVE-2022-29257"],"modified":"2023-11-08T04:09:12.659514Z","published":"2022-06-16T23:18:47Z","database_specific":{"nvd_published_at":"2022-06-13T22:15:00Z","cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-06-16T23:18:47Z"},"references":[{"type":"WEB","url":"https://github.com/electron/electron/security/advisories/GHSA-77xc-hjv8-ww97"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29257"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"affected":[{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"15.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"}},{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"16.0.0"},{"fixed":"16.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"}},{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"17.0.0"},{"fixed":"17.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"}},{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"18.0.0-beta.1"},{"fixed":"18.0.0-beta.6"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 18.0.0-beta.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-77xc-hjv8-ww97/GHSA-77xc-hjv8-ww97.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}