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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-575394
  • published7 Jul 2020
  • disclosed7 Jul 2020
  • creditUnknown

Introduced: 7 Jul 2020

CVE-2020-4076  (opens in a new tab)
CWE-264  (opens in a new tab)

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 contextIsolation are affected.

References

CVSS Scores

version 3.1