Information Exposure Affecting electron package, versions >=10.1.0 <11.5.0>=12.0.0-beta.1 <12.1.0>=13.0.0-beta.2 <13.3.0>=14.0.0-beta.1 <14.0.0>=15.0.0-alpha.1 <15.0.0-alpha.10


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (59th 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 Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-1730574
  • published13 Oct 2021
  • disclosed13 Oct 2021
  • creditJeremy Rose

Introduced: 13 Oct 2021

CVE-2021-39184  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade electron to version 11.5.0, 12.1.0, 13.3.0, 14.0.0, 15.0.0-alpha.10 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 Information Exposure. A sandboxed renderer can request a "thumbnail" image of an arbitrary file on the user's system. Note: This can be partially fixed by enabling contextIsolation.

CVSS Base Scores

version 3.1