> CVE-2021-39184 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2021-10-12 19:15
MODIFIED
2024-11-21 06:18
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
1.05%
Top 35.5%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-09-29 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Electronjs - Electron
>= 10.1.0 < 11.5.0
Electronjs - Electron
>= 12.0.0 < 12.1.0
Electronjs - Electron
>= 13.0.0 < 13.3.0
Electronjs - Electron
Version: 14.0.0
Electronjs - Electron
Version: 15.0.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-mpjm-v997-c4h4 MODERATE

Electron's sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API

AFFECTED PACKAGES:
NPM / electron
>= 13.0.0, < 13.3.0
Fixed in: 13.3.0
NPM / electron
>= 12.0.0, < 12.1.0
Fixed in: 12.1.0
NPM / electron
< 11.5.0
Fixed in: 11.5.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
35 versions affected
ALIASES:
GHSA-mpjm-v997-c4h4

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/10/2021 19:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:29
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME