Insufficient Verification of Data Authenticity Affecting electron package, versions <22.3.24 >=24.0.0-alpha.1 <24.8.3 >=25.0.0-alpha.1 <25.8.1 >=26.0.0-alpha.1 <26.2.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-ELECTRON-6097142
- published 3 Dec 2023
- disclosed 1 Dec 2023
- credit MarshallOfSound
Introduced: 1 Dec 2023
CVE-2023-44402 Open this link in a new tabHow to fix?
Upgrade electron
to version 22.3.24, 24.8.3, 25.8.1, 26.2.1 or higher.
Overview
electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.
Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity when the embeddedAsarIntegrityValidation
and onlyLoadAppFromAsar
fuses are enabled.
An attacker can edit files inside the .app
bundle on macOS, which these fuses are supposed to protect against, by gaining write access to the filesystem from which the app is launched.
Note
This is only exploitable if your app is launched from a filesystem the attacker has write access to and is specific to macOS, as these fuses are only supported on macOS.