CVE-2024-39698: electron-updater Code Signing Bypass on Windows
This attack assumes a compromised update manifest (server compromise, Man-in-the-Middle attack if fetched over HTTP, Cross-Site Scripting to point the application to a malicious updater server, etc.).
References
- github.com/advisories/GHSA-9jxc-qjr9-vjxq
- github.com/electron-userland/electron-builder
- github.com/electron-userland/electron-builder/blob/140e2f0eb0df79c2a46e35024e96d0563355fc89/packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts
- github.com/electron-userland/electron-builder/commit/ac2e6a25aa491c1ef5167a552c19fc2085cd427f
- github.com/electron-userland/electron-builder/pull/8295
- github.com/electron-userland/electron-builder/security/advisories/GHSA-9jxc-qjr9-vjxq
- nvd.nist.gov/vuln/detail/CVE-2024-39698
Code Behaviors & Features
Detect and mitigate CVE-2024-39698 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →