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-2023-6597

published high CVSS 3.1 · 7.8

python: Path traversal on tempfile.TemporaryDirectory

Title from Red Hat VEX

Published
19 Mar 2024, 15:44:28 UTC
Updated
03 Nov 2025, 21:50:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Python Software Foundation — CPython0 to < 3.8.19 · 3.9.0 to < 3.9.19 · 3.10.0 to < 3.10.14 · 3.11.0 to < 3.11.8 · 3.12.0 to < 3.12.1 · 3.13.0a1 to < 3.13.0a3 · Other versions: unaffected Affected Not stated PSF
python_software_foundation — cpython0 to < 3.8.19 · 3.9.0 to < 3.9.19 · 3.10.0 to < 3.10.14 · 3.11.0 to < 3.11.8 · 3.12.0 to < 3.12.1 · 3.13.0a1 to < 3.13.0a3 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2024-2541 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PYTHON3.8-2024-011 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-616 Fixed Not stated Amazon Linux assessment
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-617 Fixed Not stated Amazon Linux assessment

Description

An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.

en · PSF · cna

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
PSF · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Python Software Foundation CPython 0 to < 3.8.19 (affected · python)3.9.0 to < 3.9.19 (affected · python)3.10.0 to < 3.10.14 (affected · python)3.11.0 to < 3.11.8 (affected · python)3.12.0 to < 3.12.1 (affected · python)3.13.0a1 to < 3.13.0a3 (affected · python)Default: unaffected PSF · cna
python_software_foundation cpython 0 to < 3.8.19 (affected · custom)3.9.0 to < 3.9.19 (affected · custom)3.10.0 to < 3.10.14 (affected · custom)3.11.0 to < 3.11.8 (affected · custom)3.12.0 to < 3.12.1 (affected · custom)3.13.0a1 to < 3.13.0a3 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

14

Provider assertions

3

PSF · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
aea4d262ddbc6e75754b2c688161c2d18e3f8749ba4e5e2510888957d2f1a23d
Ingested
23 Sep 2026, 08:15:54 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