Vulnerability · Published Dec 1, 2023 · Assigned by GitHub_M

CVE-2023-44402ASAR Integrity bypass via filetype confusion in electron

Medium 6.1

In plain English

A medium-severity insufficient verification of data authenticity in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 89.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron22.3.24GHSA-7m48-wc93-9g85
npmelectron24.8.3GHSA-7m48-wc93-9g85
npmelectron25.8.1GHSA-7m48-wc93-9g85
npmelectron26.2.1GHSA-7m48-wc93-9g85
npmelectron27.0.0-alpha.7GHSA-7m48-wc93-9g85
npmelectronno fix listedGHSA-7m48-wc93-9g85

Affected products (as reported)

VendorProductVersions
electron 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>= 26.0.0-alpha.1, < 26.2.1>= 27.0.0-alpha.1, < 27.0.0-alpha.7

Weakness: CWE-345 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L

References