8.6

CVE-2021-39184: electron Exposure of Resource to Wrong Sphere

CVSS: 8.6v3.1HighModified
AliasesGHSA-mpjm-v997-c4h4
Published 12-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-39184 is a high (CVSS 8.6) Exposure of Resource to Wrong Sphere vulnerability in electron. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 63.7% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.6/10
010
High · v3.1 (NVD)
EPSS score
1.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 12-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to 11.5.0, 12.1.0, and 13.3.0 allows a sandboxed renderer to request a "thumbnail" image of an arbitrary file on the user's system. The thumbnail can potentially include significant parts of the original file, including textual data in many cases. Versions 15.0.0-alpha.10, 14.0.0, 13.3.0, 12.1.0, and 11.5.0 all contain a fix for the vulnerability. Two workarounds aside from upgrading are available. One may make the vulnerability significantly more difficult for an attacker to exploit by enabling `contextIsolation` in one's app. One may also disable the functionality of the `createThumbnailFromPath` API if one does not need it.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.05%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

0.00 pp

From 1.05% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.05%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Electron1 product
  • electron< 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0
Electronjs1 product
  • electronEOL≥ 10.1.0, < 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0 | 14.0.0:beta1 | 14.0.0:beta10 | 14.0.0:beta11 | 14.0.0:beta12 | 14.0.0:beta13 | 14.0.0:beta14 | 14.0.0:beta15 | 14.0.0:beta16 | 14.0.0:beta17 | 14.0.0:beta18 | 14.0.0:beta19 | 14.0.0:beta2 | 14.0.0:beta20 | 14.0.0:beta21 | 14.0.0:beta22 | 14.0.0:beta23 | 14.0.0:beta24 | 14.0.0:beta25 | 14.0.0:beta3 | 14.0.0:beta4 | 14.0.0:beta5 | 14.0.0:beta6 | 14.0.0:beta7 | 14.0.0:beta8 | 14.0.0:beta9 | 15.0.0:alpha1 | 15.0.0:alpha2 | 15.0.0:alpha3 | 15.0.0:alpha4 | 15.0.0:alpha5 | 15.0.0:alpha6 | 15.0.0:alpha7 | 15.0.0:alpha8 | 15.0.0:alpha9
Npm1 product
  • electron< 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0

3 vendors · 3 products

References

5 links