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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (22nd percentile)

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 IDSNYK-JS-ELECTRON-6097142
  • published3 Dec 2023
  • disclosed1 Dec 2023
  • creditMarshallOfSound

Introduced: 1 Dec 2023

CVE-2023-44402  (opens in a new tab)
CWE-345  (opens in a new tab)

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

CVSS Scores

version 3.1