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

Published Dec 1, 2023
·
Updated

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 security@electronjs.org

Other sources

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 Software

17 affected componentsFixes available
npm/electron>=23.0.0-alpha.1<=23.3.13
npm/electron>=27.0.0-alpha.1<27.0.0-alpha.7
27.0.0-alpha.7
npm/electron>=26.0.0-alpha.1<26.2.1
26.2.1
npm/electron>=25.0.0-alpha.1<25.8.1
25.8.1
npm/electron>=24.0.0-alpha.1<24.8.3
24.8.3
npm/electron<22.3.24
22.3.24
electronjs Electron Node.js<=22.3.24
electronjs Electron Node.js>=23.0.0<=23.3.14
electronjs Electron Node.js>=24.0.0<=24.8.3
electronjs Electron Node.js>=25.0.0<=25.8.1
electronjs Electron Node.js>=26.0.0<=26.2.1
electronjs Electron Node.js=27.0.0-alpha1
electronjs Electron Node.js=27.0.0-alpha2
electronjs Electron Node.js=27.0.0-alpha3
electronjs Electron Node.js=27.0.0-alpha4
electronjs Electron Node.js=27.0.0-alpha5
electronjs Electron Node.js=27.0.0-alpha6

Event History

Dec 1, 2023
Advisory Published
09:32 PM
CVE Published
09:45 PM
Data Sourced
09:45 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the impact of CVE-2023-44402?

This vulnerability allows an attacker to bypass ASAR integrity checks in Electron, potentially leading to unauthorized code execution in affected apps with specific fuses enabled.

2

Which apps are impacted by CVE-2023-44402?

This vulnerability only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses enabled in Electron.

3

How can I check if my app is affected by CVE-2023-44402?

To check if your app is affected, verify if the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses are enabled in your Electron configuration.

4

What is the severity of CVE-2023-44402?

The severity of this vulnerability is medium with a CVSS score of 6.1.

5

How can I fix CVE-2023-44402?

To fix this vulnerability, update Electron to version 22.3.24 or higher and ensure that the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses are not enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203