Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2023-44402

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

December 1, 2023 (updated September 18, 2024)

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.

References

  • github.com/advisories/GHSA-7m48-wc93-9g85
  • github.com/electron/electron
  • github.com/electron/electron/pull/39788
  • github.com/electron/electron/security/advisories/GHSA-7m48-wc93-9g85
  • nvd.nist.gov/vuln/detail/CVE-2023-44402
  • www.electronjs.org/docs/latest/tutorial/fuses

Code Behaviors & Features

Detect and mitigate CVE-2023-44402 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 22.3.24, all versions starting from 23.0.0-alpha.1 up to 23.3.13, all versions starting from 24.0.0-alpha.1 before 24.8.3, all versions starting from 25.0.0-alpha.1 before 25.8.1, all versions starting from 26.0.0-alpha.1 before 26.2.1, all versions starting from 27.0.0-alpha.1 before 27.0.0-alpha.7

Fixed versions

  • 22.3.24
  • 24.8.3
  • 25.8.1
  • 26.2.1
  • 27.0.0-alpha.7

Solution

Upgrade to versions 22.3.24, 24.8.3, 25.8.1, 26.2.1, 27.0.0-alpha.7 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/electron/CVE-2023-44402.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.