> CVE-2022-21733 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-02-03 12:15
MODIFIED
2025-05-05 17:17
CVSS_SCORE V3
4.3
EPSS (Prob. Exploit)
0.83%
Top 41.9%
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 `StringNGrams` can be used to trigger a denial of service attack by causing an out of memory condition after an integer overflow. We are missing a validation on `pad_witdh` and that result in computing a negative value for `ngram_width` which is later used to allocate parts of the output. 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:N/I:N/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

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

> RÉSUMÉ DES IMPACTS

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

> GITHUB SECURITY ADVISORY

GHSA-98j8-c9q4-r38g MODERATE

Memory exhaustion 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 12: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