> CVE-2020-5215 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2020-01-28 22:15
MODIFIED
2024-11-21 05:33
CVSS_SCORE V3
5.0
EPSS (Prob. Exploit)
0.59%
Top 51.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-16

> DESCRIPTION

In TensorFlow before 1.15.2 and 2.0.1, converting a string (from Python) to a tf.float16 value results in a segmentation fault in eager mode as the format checks for this use case are only in the graph mode. This issue can lead to denial of service in inference/training where a malicious attacker can send a data point which contains a string instead of a tf.float16 value. Similar effects can be obtained by manipulating saved models and checkpoints whereby replacing a scalar tf.float16 value with a scalar string will trigger this issue due to automatic conversions. This can be easily reproduced by tf.constant("hello", tf.float16), if eager execution is enabled. This issue is patched in TensorFlow 1.15.1 and 2.0.1 with this vulnerability patched. TensorFlow 2.1.0 was released after we fixed the issue, thus it is not affected. Users are encouraged to switch to TensorFlow 1.15.1, 2.0.1 or 2.1.0.

> AFFECTED_PRODUCTS

Google - Tensorflow
< 1.15.2
Google - Tensorflow
>= 2.0.0 < 2.0.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-977j-xj7q-2jr9 LOW

Segmentation faultin TensorFlow when converting a Python string to `tf.float16`

AFFECTED PACKAGES:
PIP / tensorflow-gpu
= 2.0.0
Fixed in: 2.0.1
PIP / tensorflow-gpu
< 1.15.2
Fixed in: 1.15.2
PIP / tensorflow-cpu
= 2.0.0
Fixed in: 2.0.1
PIP / tensorflow-cpu
< 1.15.2
Fixed in: 1.15.2
PIP / tensorflow
= 2.0.0
Fixed in: 2.0.1
PIP / tensorflow
< 1.15.2
Fixed in: 1.15.2

> HISTORIQUE DES MODIFICATIONS

Première apparition
28/01/2020 22:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:21
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