CVE-2023-44402
ASAR Integrity bypass via filetype confusion in electron
MEDIUM 6.1
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-345 — Insufficient Verification of Data Authenticity
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-7m48-wc93-9g85 — ASAR Integrity bypass via filetype confusion in electron
European references
- ENISA EUVD · EUVD-2023-3149
- GCVE · GCVE-0-2023-44402
Affected configurations (NVD CPE)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≤ 22.3.24cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 23.0.0 ≤ 23.3.14cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 24.0.0 ≤ 24.8.3cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 25.0.0 ≤ 25.8.1cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*≥ 26.0.0 ≤ 26.2.1cpe:2.3:a:electronjs:electron:27.0.0:alpha1:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:27.0.0:alpha2:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:27.0.0:alpha3:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:27.0.0:alpha4:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:27.0.0:alpha5:*:*:*:node.js:*:*cpe:2.3:a:electronjs:electron:27.0.0:alpha6:*:*:*:node.js:*:*
Affected products
| Product | Versions |
|---|---|
| electron · electron | affected < 22.3.24 ; affected >= 23.0.0-alpha.1, <= 23.3.13 ; affected >= 24.0.0-alpha.1, < 24.8.3 ; affected >= 25.0.0-alpha.1, < 25.8.1 ; affected >= 26.0.0-alpha.1, < 26.2.1 ; affected >= 27.0.0-alpha.1, < 27.0.0-alpha.7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |