Integer Overflow or Wraparound Affecting electron package, versions <27.3.11>=28.0.0 <28.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (53rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-6613087
  • published17 Apr 2024
  • disclosed19 Feb 2024
  • creditUnknown

Introduced: 19 Feb 2024

CVE-2024-1580  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade electron to version 27.3.11, 28.3.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 Integer Overflow or Wraparound when decoding videos with a large frame size. An attacker can cause memory corruption within the AV1 decoder by providing a specially crafted video file.

CVSS Base Scores

version 3.1