> CVE-2022-21727 [HIGH]

« BACK_TO_HOME
PUBLISHED
2022-02-03 11:15
MODIFIED
2025-05-05 17:17
CVSS_SCORE V3
7.6
EPSS (Prob. Exploit)
0.66%
Top 47.6%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-17

> DESCRIPTION

Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `Dequantize` is vulnerable to an integer overflow weakness. The `axis` argument can be `-1` (the default value for the optional argument) or any other positive value at most the number of dimensions of the input. Unfortunately, the upper bound is not checked, and, since the code computes `axis + 1`, an attacker can trigger an integer overflow. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

> AFFECTED_PRODUCTS

Google - Tensorflow
<= 2.5.2
Google - Tensorflow
>= 2.6.0 <= 2.6.2
Google - Tensorflow
Version: 2.7.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
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
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
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
High (H)
Interruption totale 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é
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-c6fh-56w7-fvjw HIGH

Integer overflow in Tensorflow

AFFECTED PACKAGES:
PIP / tensorflow-gpu
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow-gpu
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow-gpu
< 2.5.3
Fixed in: 2.5.3
PIP / tensorflow-cpu
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow-cpu
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow-cpu
< 2.5.3
Fixed in: 2.5.3
PIP / tensorflow
= 2.7.0
Fixed in: 2.7.1
PIP / tensorflow
>= 2.6.0, < 2.6.3
Fixed in: 2.6.3
PIP / tensorflow
< 2.5.3
Fixed in: 2.5.3

> HISTORIQUE DES MODIFICATIONS

Première apparition
03/02/2022 11:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:32
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