CVE-2023-44402
ASAR Integrity bypass via filetype confusion in electron
Overview
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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-345
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | <22.3.24>=24.0.0-alpha.1, <24.8.3>=25.0.0-alpha.1, <25.8.1>=26.0.0-alpha.1, <26.2.1>=27.0.0-alpha.1, <27.0.0-alpha.7+1 more | 22.3.2424.8.325.8.126.2.127.0.0-alpha.7 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/electron/electron
- github.com https://github.com/electron/electron/pull/39788
- github.com https://github.com/electron/electron/security/advisories/GHSA-7m48-wc93-9g85
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-44402
- www.electronjs.org https://www.electronjs.org/docs/latest/tutorial/fuses
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.