> CVE-2021-37672 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2021-08-12 23:15
MODIFIED
2024-11-21 06:15
CVSS_SCORE V3
5.5
EPSS (Prob. Exploit)
0.17%
Top 93.4%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to `tf.raw_ops.SdcaOptimizerV2`. The [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/kernels/sdca_internal.cc#L320-L353) does not check that the length of `example_labels` is the same as the number of examples. We have patched the issue in GitHub commit a4e138660270e7599793fa438cd7b2fc2ce215a6. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

> AFFECTED_PRODUCTS

Google - Tensorflow
>= 2.3.0 < 2.3.4
Google - Tensorflow
>= 2.4.0 < 2.4.3
Google - Tensorflow
Version: 2.5.0
Google - Tensorflow
Version: 2.6.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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
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-5hj3-vjjf-f5m7 MODERATE

Heap OOB in `SdcaOptimizerV2`

AFFECTED PACKAGES:
PIP / tensorflow-gpu
= 2.5.0
Fixed in: 2.5.1
PIP / tensorflow-gpu
>= 2.4.0, < 2.4.3
Fixed in: 2.4.3
PIP / tensorflow-gpu
< 2.3.4
Fixed in: 2.3.4
PIP / tensorflow-cpu
= 2.5.0
Fixed in: 2.5.1
PIP / tensorflow-cpu
>= 2.4.0, < 2.4.3
Fixed in: 2.4.3
PIP / tensorflow-cpu
< 2.3.4
Fixed in: 2.3.4
PIP / tensorflow
= 2.5.0
Fixed in: 2.5.1
PIP / tensorflow
>= 2.4.0, < 2.4.3
Fixed in: 2.4.3
PIP / tensorflow
< 2.3.4
Fixed in: 2.3.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
11 versions affected
ALIASES:
BIT-tensorflow-2021-37672, GHSA-5hj3-vjjf-f5m7, PYSEC-2021-294, PYSEC-2021-585, PYSEC-2021-783

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/08/2021 23:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:28
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