CVE-2022-23563Time-of-check Time-of-use (TOCTOU) Race Condition in Tensorflow

Severity
6.3MEDIUMNVD
CNA7.1
EPSS
0.0%
top 97.37%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 4
Latest updateFeb 9

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

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NExploitability: 1.0 | Impact: 5.2

Affected Packages3 packages

CVEListV5tensorflow/tensorflow< 2.5.3+2
PyPIintel/optimization_for_tensorflow2.6.02.6.3+2
NVDgoogle/tensorflow2.6.02.6.2+2

🔴Vulnerability Details

4
GHSA
Insecure temporary file in Tensorflow2022-02-09
OSV
Insecure temporary file in Tensorflow2022-02-09
OSV
CVE-2022-23563: Tensorflow is an Open Source Machine Learning Framework2022-02-04
CVEList
Insecure temporary file in Tensorflow2022-02-04

📋Vendor Advisories

1
Debian
CVE-2022-23563: tensorflow - Tensorflow is an Open Source Machine Learning Framework. In multiple places, Ten...2022
CVE-2022-23563 — Tensorflow vulnerability | cvebase