7.8

CVE-2023-6597: python software foundation cpython

Deferred
AliasesALPINE-CVE-2023-6597SUSE-SU-2024:0820-1SUSE-SU-2024:0850-1
Published 19-03-2024Last modified 03-11-2025

Vulnerability summary

CVE-2023-6597 is a high (CVSS 7.8) vulnerability in python software foundation cpython. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 24.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 22 · Related 19

Timeline

  1. 19-03-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 8 sources · 1 version

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.31% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat26 products
  • platform-python< 0:3.6.8-24.el8_2.3 | < 0:3.6.8-39.el8_4.5
  • platform-python-debug< 0:3.6.8-24.el8_2.3 | < 0:3.6.8-39.el8_4.5
  • platform-python-devel< 0:3.6.8-24.el8_2.3 | < 0:3.6.8-39.el8_4.5
  • python-unversioned-command< 0:3.9.16-1.el9_2.5 | < 0:3.9.10-4.el9_0.4
  • python3< 0:3.6.8-24.el8_2.3 | < 0:3.6.8-39.el8_4.5 | < 0:3.9.16-1.el9_2.5 | < 0:3.9.10-4.el9_0.4
Suse16 products
  • python3-core&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 3.6.15-150000.3.141.1
  • python3-core&distro=SUSE Linux Enterprise Micro 5.1< 3.6.15-150000.3.141.1
  • python3-core&distro=SUSE Linux Enterprise Server 15 SP2-LTSS< 3.6.15-150000.3.141.1
  • python3-core&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2< 3.6.15-150000.3.141.1
  • python310-core&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 3.10.13-150400.4.42.1
Chainguard11 products
  • aws-cli-v2< 2.15.35-r0
  • python-3.10< 3.10.14-r0
  • python-3.11< 3.11.8-r0
  • python-3.12< 3.12.2-r0
  • python-3.12-base< 3.12.2-r0
Wolfi10 products
  • aws-cli-v2< 2.15.35-r0
  • python-3.10< 3.10.14-r0
  • python-3.11< 3.11.8-r0
  • python-3.12< 3.12.2-r0
  • python-3.12-base< 3.12.2-r0
Opensuse8 products
  • python310-core&distro=openSUSE Leap 15.5< 3.10.13-150400.4.42.1
  • python310-documentation&distro=openSUSE Leap 15.5< 3.10.13-150400.4.42.1
  • python310&distro=openSUSE Leap 15.5< 3.10.13-150400.4.42.1
  • python310&distro=openSUSE Tumbleweed< 3.10.13-5.1
  • python311&distro=openSUSE Tumbleweed< 3.11.8-3.1
Ubuntu7 products
  • python3.10< 3.10.12-1~22.04.4
  • python3.11< 3.11.0~rc1-1~22.04.1~esm1
  • python3.4All versions (No fix recorded)
  • python3.5< 3.5.2-2ubuntu0~16.04.13+esm13
  • python3.7< 3.7.5-2ubuntu1~18.04.2+esm3
Debian2 products
  • pypy3< 7.3.11+dfsg-2+deb12u2 | < 7.3.13+dfsg-1
  • python3.11< 3.11.2-6+deb12u2
Alpine1 product
  • python3< 3.10.14-r0
Python software foundation1 product
  • cpython< 3.8.19 | ≥ 3.9.0, < 3.9.19 | ≥ 3.10.0, < 3.10.14 | ≥ 3.11.0, < 3.11.8 | ≥ 3.12.0, < 3.12.1 | ≥ 3.13.0a1, < 3.13.0a3

9 vendors · 82 products

References

46 links
Show all 46 references