Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6
CVE-2024-39698

7.5HIGH

Key Information:

Vendor
CVE Published:
9 July 2024

What is CVE-2024-39698?

The electron-updater component, utilized for automatically updating Electron applications on Windows, has a vulnerability that allows attackers to exploit the signature validation routine. The flaw exists in how the system integrates with 'cmd.exe', which can inadvertently expand environment variables in command-line inputs. This design mistake enables an attacker to manipulate the verifySignature() function. As a result, a crafted malicious update can be executed, potentially leading to the installation of software with invalid signatures. Attack vectors could include compromised update manifests stemming from server breaches, Man-in-the-Middle attacks, or Cross-Site Scripting that redirects applications to illegitimate updater servers. Remediation is available starting with version 6.3.0-alpha.6.

Affected Version(s)

electron-builder < 6.3.0-alpha.6

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

.