Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-23563

published high CVSS 3.1 · 7.1

Insecure temporary file in Tensorflow

Published
04 Feb 2022, 22:32:38 UTC
Updated
23 Apr 2025, 19:07:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
tensorflow — tensorflow>= 2.7.0, < 2.7.1 · >= 2.6.0, < 2.6.3 · < 2.5.3 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-liteaarch64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-liteppc64le Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lites390x Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-litex86_64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develaarch64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develppc64le Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-devels390x Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develx86_64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
tensorflow tensorflow >= 2.7.0, < 2.7.1 (affected)>= 2.6.0, < 2.6.3 (affected)< 2.5.3 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (GitHub_M · cna)

References

1

Provider assertions

3

GitHub_M · cna

Insecure temporary file in Tensorflow

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
a0cfb41fe1a28733b75359071d063240d8b4c732edca81ddbbf5a071fb17b146
Ingested
23 Sep 2026, 07:58:41 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected