> CVE-2021-37689 [HIGH]

« BACK_TO_HOME
PUBLISHED
2021-08-12 22:15
MODIFIED
2024-11-21 06:15
CVSS_SCORE V3
7.8
EPSS (Prob. Exploit)
0.17%
Top 94.3%
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 craft a TFLite model that would trigger a null pointer dereference, which would result in a crash and denial of service. This is caused by the MLIR optimization of `L2NormalizeReduceAxis` operator. The [implementation](https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/compiler/mlir/lite/transforms/optimize.cc#L67-L70) unconditionally dereferences a pointer to an iterator to a vector without checking that the vector has elements. We have patched the issue in GitHub commit d6b57f461b39fd1aa8c1b870f1b974aac3554955. 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:H/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-wf5p-c75w-w3wh HIGH

Null pointer dereference in TFLite MLIR optimizations

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-37689, GHSA-wf5p-c75w-w3wh, PYSEC-2021-311, PYSEC-2021-602, PYSEC-2021-800

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/08/2021 22: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