ASAR Integrity bypass via filetype confusion in electron
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- 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
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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