Loading HuntDB...

GHSA-7m48-wc93-9g85

GitHub Security Advisory

ASAR Integrity bypass via filetype confusion in electron

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

### Impact
This only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` [fuses](https://www.electronjs.org/docs/latest/tutorial/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 `resources` folder in your app installation on Windows which these fuses are supposed to protect against.

### Workarounds
There are no app side workarounds, you must update to a patched version of Electron.

### Fixed Versions
* `27.0.0-alpha.7`
* `26.2.1`
* `25.8.1`
* `24.8.3`
* `22.3.24`

### For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Affected Packages

npm electron
Affected versions: 0 (fixed in 22.3.24)
npm electron
Affected versions: 24.0.0-alpha.1 (fixed in 24.8.3)
npm electron
Affected versions: 25.0.0-alpha.1 (fixed in 25.8.1)
npm electron
Affected versions: 26.0.0-alpha.1 (fixed in 26.2.1)
npm electron
Affected versions: 27.0.0-alpha.1 (fixed in 27.0.0-alpha.7)
npm electron
Affected versions: 23.0.0-alpha.1 (last affected: 23.3.13)

Related CVEs

Key Information

GHSA ID
GHSA-7m48-wc93-9g85
Published
December 1, 2023 9:32 PM
Last Modified
September 18, 2024 8:13 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
electron
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 14, 2025 6:28 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.