p PatchFirst

CVE-2024-46992

CVE-2024-46992 · Electron ASAR Integrity bypass by just modifying the content

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.8 · High · EPSS 0.1% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • electron

    Versions
    • >= 30.0.0-alpha.1, < 30.0.5: Affected
    • >= 31.0.0-alpha.1, < 31.0.0-beta.1: Affected

    No fix published

  • electron npm

    Affected ranges
    • SEMVER: ≥ 30.0.0-alpha.1, < 30.0.5

    Update to 30.0.5

  • electron npm

    Affected ranges
    • SEMVER: ≥ 31.0.0-alpha.1, < 31.0.0-beta.1

    Update to 31.0.0-beta.1

Original sources

Check your server →