> CVE-2021-37677 [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.15%
Top 96.0%
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 the shape inference code for `tf.raw_ops.Dequantize` has a vulnerability that could trigger a denial of service via a segfault if an attacker provides invalid arguments. The shape inference [implementation](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/core/ops/array_ops.cc#L2999-L3014) uses `axis` to select between two different values for `minmax_rank` which is then used to retrieve tensor dimensions. However, code assumes that `axis` can be either `-1` or a value greater than `-1`, with no validation for the other values. We have patched the issue in GitHub commit da857cfa0fde8f79ad0afdbc94e88b5d4bbec764. 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: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-qfpc-5pjr-mh26 MODERATE

Missing validation in shape inference for `Dequantize`

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-37677, GHSA-qfpc-5pjr-mh26, PYSEC-2021-299, PYSEC-2021-590, PYSEC-2021-788

> 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