> CVE-2021-41197 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2021-11-05 20:15
MODIFIED
2024-11-21 06:25
CVSS_SCORE V3
5.5
EPSS (Prob. Exploit)
0.32%
Top 74.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-03

> DESCRIPTION

TensorFlow is an open source platform for machine learning. In affected versions TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an `int64_t`. If an overflow occurs, `MultiplyWithoutOverflow` would return a negative result. In the majority of TensorFlow codebase this then results in a `CHECK`-failure. Newer constructs exist which return a `Status` instead of crashing the binary. This is similar to CVE-2021-29584. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

> AFFECTED_PRODUCTS

Google - Tensorflow
< 2.4.4
Google - Tensorflow
>= 2.5.0 < 2.5.2
Google - Tensorflow
>= 2.6.0 < 2.6.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-prcg-wp5q-rv7p MODERATE

Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes

AFFECTED PACKAGES:
PIP / tensorflow-gpu
< 2.4.4
Fixed in: 2.4.4
PIP / tensorflow-gpu
>= 2.5.0, < 2.5.2
Fixed in: 2.5.2
PIP / tensorflow-gpu
>= 2.6.0, < 2.6.1
Fixed in: 2.6.1
PIP / tensorflow-cpu
< 2.4.4
Fixed in: 2.4.4
PIP / tensorflow-cpu
>= 2.5.0, < 2.5.2
Fixed in: 2.5.2
PIP / tensorflow-cpu
>= 2.6.0, < 2.6.1
Fixed in: 2.6.1
PIP / tensorflow
< 2.4.4
Fixed in: 2.4.4
PIP / tensorflow
>= 2.5.0, < 2.5.2
Fixed in: 2.5.2
PIP / tensorflow
>= 2.6.0, < 2.6.1
Fixed in: 2.6.1

> HISTORIQUE DES MODIFICATIONS

Première apparition
05/11/2021 20: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