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

0.0
high
0
10

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    5.33% (94th 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 ID SNYK-JS-ELECTRON-6095118
  • published 1 Dec 2023
  • disclosed 29 Nov 2023
  • credit Benoît Sevens, Clément Lecigne

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
Expand this section

Snyk

7.6 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    High
Expand this section

NVD

9.6 critical