Out-of-Bounds Write Affecting electron package, versions <31.7.2


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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-8302889
  • published24 Oct 2024
  • disclosed3 Sept 2024
  • creditCassidy Kim

Introduced: 3 Sep 2024

CVE-2024-7970  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade electron to version 31.7.2 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 Out-of-Bounds Write via the V8 engine. An attacker can potentially exploit heap corruption by crafting a malicious HTML page.

CVSS Scores

version 4.0
version 3.1