Integer Overflow or Wraparound Affecting electron package, versions >=25.0.0 <25.9.7>=26.0.0 <26.6.2>=27.0.0 <27.1.3>=28.0.0-alpha.1 <28.0.0-beta.11


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
20.24% (97th 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-6095118
  • published1 Dec 2023
  • disclosed29 Nov 2023
  • creditBenoît Sevens, Clément Lecigne

Introduced: 29 Nov 2023

CVE-2023-6345  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade electron to version 25.9.7, 26.6.2, 27.1.3, 28.0.0-beta.11 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 in Skia. An attacker can perform a sandbox escape by using a malicious file. This is only exploitable if the attacker has already compromised the renderer process.

CVSS Scores

version 3.1