CVE-2023-44402 ASAR Integrity bypass via filetype confusion in electron
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| electronjs electron | <= 22.3.24; = 27.0.0-alpha1; = 27.0.0-alpha2; = 27.0.0-alpha3 +7 more | after 22.3.24, 23.3.14, 24.8.3, 25.8.1, 26.2.1 | Fixed |
| npm electron(npm) | < 22.3.24; >= 23.0.0-alpha.1, <= 23.3.13; >= 24.0.0-alpha.1, < 24.8.3; >= 25.0.0-alpha.1, < 25.8.1 +2 more | 22.3.24, 24.8.3, 25.8.1, 26.2.1, 27.0.0-alpha.7 | Fixed |
| electron | = < 22.3.24; = >= 23.0.0-alpha.1, <= 23.3.13; = >= 24.0.0-alpha.1, < 24.8.3; = >= 25.0.0-alpha.1, < 25.8.1 +2 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm electron(npm) | < 22.3.24 | 22.3.24 |
| npm electron(npm) | >= 24.0.0-alpha.1, < 24.8.3 | 24.8.3 |
| npm electron(npm) | >= 25.0.0-alpha.1, < 25.8.1 | 25.8.1 |
| npm electron(npm) | >= 26.0.0-alpha.1, < 26.2.1 | 26.2.1 |
| npm electron(npm) | >= 27.0.0-alpha.1, < 27.0.0-alpha.7 | 27.0.0-alpha.7 |
| npm electron(npm) | >= 23.0.0-alpha.1, <= 23.3.13 | No fix listed |
| electron | = < 22.3.24 | No fix listed |
| electron | = >= 23.0.0-alpha.1, <= 23.3.13 | No fix listed |
| electron | = >= 24.0.0-alpha.1, < 24.8.3 | No fix listed |
| electron | = >= 25.0.0-alpha.1, < 25.8.1 | No fix listed |
| electron | = >= 26.0.0-alpha.1, < 26.2.1 | No fix listed |
| electron | = >= 27.0.0-alpha.1, < 27.0.0-alpha.7 | No fix listed |
| electronjs electron | <= 22.3.24 | No fix listed |
| electronjs electron | >= 23.0.0, <= 23.3.14 | No fix listed |
| electronjs electron | >= 24.0.0, <= 24.8.3 | No fix listed |
| electronjs electron | >= 25.0.0, <= 25.8.1 | No fix listed |
| electronjs electron | >= 26.0.0, <= 26.2.1 | No fix listed |
| electronjs electron | = 27.0.0-alpha1 | No fix listed |
| electronjs electron | = 27.0.0-alpha2 | No fix listed |
| electronjs electron | = 27.0.0-alpha3 | No fix listed |
| electronjs electron | = 27.0.0-alpha4 | No fix listed |
| electronjs electron | = 27.0.0-alpha5 | No fix listed |
| electronjs electron | = 27.0.0-alpha6 | No fix listed |
References
- https://github.com/electron/electron/security/advisories/GHSA-7m48-wc93-9g85 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/electron/electron/pull/39788 issue-tracking patch
- https://www.electronjs.org/docs/latest/tutorial/fuses product
- github.com
- github.com product