CVE-2024-46992

Source
https://cve.org/CVERecord?id=CVE-2024-46992
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46992.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46992
Aliases
Published
2025-07-01T01:43:13.767Z
Modified
2026-04-10T05:17:14.241809Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Electron ASAR Integrity bypass by just modifying the content
Details

Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 30.0.0-alpha.1 to before 30.0.5 and 31.0.0-alpha.1 to before 31.0.0-beta.1, Electron is vulnerable to an ASAR Integrity bypass. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is specific to Windows, apps using these fuses on macOS are not impacted. Specifically this issue can only be exploited if the app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the .app bundle on macOS which these fuses are supposed to protect against. This issue has been patched in versions 30.0.5 and 31.0.0-beta.1. There are no workarounds for this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46992.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-354"
    ]
}
References

Affected packages

Git / github.com/electron/electron

Affected ranges

Type
GIT
Repo
https://github.com/electron/electron
Events
Database specific
{
    "versions": [
        {
            "introduced": "30.0.0-alpha.1"
        },
        {
            "fixed": "30.0.5"
        }
    ]
}
Type
GIT
Repo
https://github.com/electron/electron
Events
Database specific
{
    "versions": [
        {
            "introduced": "31.0.0-alpha.1"
        },
        {
            "fixed": "31.0.0-beta.1"
        }
    ]
}

Affected versions

v30.*
v30.0.0
v30.0.0-alpha.1
v30.0.0-alpha.2
v30.0.0-alpha.3
v30.0.0-alpha.4
v30.0.0-alpha.5
v30.0.0-alpha.6
v30.0.0-alpha.7
v30.0.0-beta.1
v30.0.0-beta.2
v30.0.0-beta.3
v30.0.0-beta.4
v30.0.0-beta.5
v30.0.0-beta.6
v30.0.0-beta.7
v30.0.0-beta.8
v30.0.1
v30.0.2
v30.0.3
v30.0.4
v31.*
v31.0.0-alpha.1
v31.0.0-alpha.2
v31.0.0-alpha.3
v31.0.0-alpha.4
v31.0.0-alpha.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46992.json"