Skip to main content
← All vulnerabilities
CVE-2023-44402GHSA-7M48-WC93-9G85

ASAR Integrity bypass via filetype confusion in electron

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 22.3.24, 24.8.3, 25.8.1, 26.2.1, 27.0.0-alpha.7
None on Exploit-DB, Metasploit or GitHub

Summary

Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. 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 macOS as these fuses are only currently supported on macOS. Specifically this issue can only be exploited if your 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. There are no app side workarounds, you must update to a patched version of Electron.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • electron electron

    fixed in 22.3.24; From 23.0.0-alpha.1 · through 23.3.13; From 24.0.0-alpha.1 · fixed in 24.8.3; From 25.0.0-alpha.1 · fixed in 25.8.1; From 26.0.0-alpha.1 · fixed in 26.2.1; From 27.0.0-alpha.1 · fixed in 27.0.0-alpha.7

  • electronnpm

    fixed in 22.3.24

  • electronnpm

    From 24.0.0-alpha.1 · fixed in 24.8.3

  • electronnpm

    From 25.0.0-alpha.1 · fixed in 25.8.1

  • electronnpm

    From 26.0.0-alpha.1 · fixed in 26.2.1

  • electronnpm

    From 27.0.0-alpha.1 · fixed in 27.0.0-alpha.7

  • electronnpm

    From 23.0.0-alpha.1 · through 23.3.13

References 3

GitHub · electron/electron

electronjs.org