> CVE-2022-23563 [HIGH]

« BACK_TO_HOME
PUBLISHED
2022-02-04 23:15
MODIFIED
2024-11-21 06:48
CVSS_SCORE V3
7.1
EPSS (Prob. Exploit)
0.11%
Top 98.7%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-09-22 OSV 🔗 2026-09-20

> DESCRIPTION

Tensorflow is an Open Source Machine Learning Framework. In multiple places, TensorFlow uses `tempfile.mktemp` to create temporary files. While this is acceptable in testing, in utilities and libraries it is dangerous as a different process can create the file between the check for the filename in `mktemp` and the actual creation of the file by a subsequent operation (a TOC/TOU type of weakness). In several instances, TensorFlow was supposed to actually create a temporary directory instead of a file. This logic bug is hidden away by the `mktemp` function usage. We have patched the issue in several commits, replacing `mktemp` with the safer `mkstemp`/`mkdtemp` functions, according to the usage pattern. Users are advised to upgrade as soon as possible.

> 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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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
High (H)
Modification totale des 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é
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-wc4g-r73w-x8mm HIGH

Insecure temporary file 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

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Insecure temporary file in Tensorflow

AFFECTED PACKAGES:
Unknown / Unknown
19 versions affected
ALIASES:
BIT-tensorflow-2022-23563, GHSA-wc4g-r73w-x8mm, PYSEC-2022-127, PYSEC-2022-72, PYSEC-2026-3253

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/02/2022 23: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