Privilege Escalation Affecting electron package, versions <7.2.4 >=8.0.0 <8.2.4


0.0
high

Snyk CVSS

    Attack Complexity Low
    Scope Changed
    Integrity High

    Threat Intelligence

    EPSS 0.1% (42nd percentile)
Expand this section
NVD
9.9 critical

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-575395
  • published 7 Jul 2020
  • disclosed 7 Jul 2020
  • credit Unknown

How to fix?

Upgrade electron to version 7.2.4, 8.2.4 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 Privilege Escalation. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

##Note: Only apps using both contextIsolation and contextBridge are affected.

References