> CVE-2022-41911 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-11-18 22:15
MODIFIED
2024-11-21 07:24
CVSS_SCORE V3
4.8
EPSS (Prob. Exploit)
0.44%
Top 61.2%
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 open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (since that's the underlying storage) and then we typecast it to the element type. However, conversions from `char` to `bool` are undefined if the `char` is not `0` or `1`, so sanitizers/fuzzers will crash. The issue has been patched in GitHub commit `1be74370327`. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1, TensorFlow 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.

> AFFECTED_PRODUCTS

Google - Tensorflow
< 2.8.4
Google - Tensorflow
>= 2.9.0 < 2.9.3
Google - Tensorflow
Version: 2.10.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/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
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
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-pf36-r9c6-h97j MODERATE

Invalid char to bool conversion when printing a tensor

AFFECTED PACKAGES:
PIP / tensorflow-cpu
>= 2.10.0, < 2.10.1
Fixed in: 2.10.1
PIP / tensorflow-gpu
>= 2.9.0, < 2.9.3
Fixed in: 2.9.3
PIP / tensorflow-gpu
< 2.8.4
Fixed in: 2.8.4
PIP / tensorflow-cpu
< 2.8.4
Fixed in: 2.8.4
PIP / tensorflow
>= 2.10.0, < 2.10.1
Fixed in: 2.10.1
PIP / tensorflow
>= 2.9.0, < 2.9.3
Fixed in: 2.9.3
PIP / tensorflow-gpu
>= 2.10.0, < 2.10.1
Fixed in: 2.10.1
PIP / tensorflow-cpu
>= 2.9.0, < 2.9.3
Fixed in: 2.9.3
PIP / tensorflow
< 2.8.4
Fixed in: 2.8.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Invalid char to bool conversion when printing a tensor in Tensorflow

AFFECTED PACKAGES:
Unknown / Unknown
17 versions affected
ALIASES:
BIT-tensorflow-2022-41911, GHSA-pf36-r9c6-h97j, PYSEC-2026-1954, PYSEC-2026-3222, PYSEC-2026-939

> HISTORIQUE DES MODIFICATIONS

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