Advisory

GHSA-7m48-wc93-9g85

Also known as: CVE-2023-44402

Summary

ASAR Integrity bypass via filetype confusion in electron

Details

Impact
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 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])

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-12-01 21:32 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 0, fixed 22.3.24 (semver)

Fixed versions

22.3.24

Fix

electron

npm · All systems

Affected

  • introduced 24.0.0-alpha.1, fixed 24.8.3 (semver)

Fixed versions

24.8.3

Fix

electron

npm · All systems

Affected

  • introduced 25.0.0-alpha.1, fixed 25.8.1 (semver)

Fixed versions

25.8.1

Fix

electron

npm · All systems

Affected

  • introduced 26.0.0-alpha.1, fixed 26.2.1 (semver)

Fixed versions

26.2.1

Fix

electron

npm · All systems

Affected

  • introduced 27.0.0-alpha.1, fixed 27.0.0-alpha.7 (semver)

Fixed versions

27.0.0-alpha.7

Fix

electron

npm · All systems

Affected

  • introduced 23.0.0-alpha.1, last affected 23.3.13 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences