Arbitrary File Read Affecting electron package, versions <7.2.4>=8.0.0 <8.2.4


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.18% (57th 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 Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-575393
  • published7 Jul 2020
  • disclosed7 Jul 2020
  • creditUnknown

Introduced: 7 Jul 2020

CVE-2020-4075  (opens in a new tab)
CWE-22  (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 Arbitrary File Read. It allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.

References

CVSS Scores

version 3.1