Vulnerability
CVE-2023-6597
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.
84 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2-2024-2541
Amazon Linux 2 2017.12 - ALAS2-2024-2541: important priority package update for python3
-
ALAS2023-2024-616
Amazon Linux 2023 - ALAS2023-2024-616: Important priority package update for python3.9
-
ALAS2023-2024-617
Amazon Linux 2023 - ALAS2023-2024-617: Important priority package update for python3.11
-
ALPINE-CVE-2023-6597
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…
-
ALSA-2024:3347
Important: python3 security update
-
ALSA-2024:3466
Important: python39:3.9 and python39-devel:3.9 security update
-
ALSA-2024:4058
Important: python3.11 security update
-
ALSA-2024:4077
Important: python3.11 security update
-
ALSA-2024:4078
Important: python3.9 security update
-
AZL-35926
CVE-2023-6597 affecting package python3 for versions less than 3.12.3-1
-
AZL-35949
CVE-2023-6597 affecting package python3 for versions less than 3.9.19-1
- CGA-2vxv-jwv7-pxc4
- CGA-549j-2w92-45qf
- CGA-5rq4-5x2x-69pg
- CGA-7557-jx95-r6rx
- CGA-8cgm-46q9-x8xw
- CGA-8x3f-v2x2-6q3x
- CGA-94vm-rcvj-p5vf
- CGA-c66x-5q52-42j7
- CGA-fcmq-h448-q6jq
- CGA-fvm6-gmjr-w257
- CGA-gr44-8cwh-4grg
- CGA-j9cx-6h55-jvwv
- CGA-jcwx-wcw9-9fgc
- CGA-m5w4-h5q2-hh8p
- CGA-pc89-gqw5-xvc6
- CGA-rxj8-564p-gv97
- CGA-vg34-pwx4-cr5m
- CGA-w6cg-x6v4-6487
- CGA-wf47-jjcc-4cff
- CGA-wh73-4p3q-wcfp
- CGA-whq3-42vc-chqw
- CGA-xchp-493m-qc55
-
CNA-CVE-2023-6597
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…
-
DEBIAN-CVE-2023-6597
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…
-
DLA-3772-1
python3.7 - security update
-
DLA-3948-1
pypy3 - security update
-
DLA-3980-1
python3.9 - security update
-
ELSA-2024-3347
ELSA-2024-3347: python3 security update (IMPORTANT)
-
ELSA-2024-3466
ELSA-2024-3466: python39:3.9 and python39-devel:3.9 security update (IMPORTANT)
-
ELSA-2024-4058
ELSA-2024-4058: python3.11 security update (IMPORTANT)
-
ELSA-2024-4077
ELSA-2024-4077: python3.11 security update (IMPORTANT)
-
ELSA-2024-4078
ELSA-2024-4078: python3.9 security update (IMPORTANT)
-
OESA-2024-2190
python3 security update
-
OESA-2024-2191
python3 security update
-
OESA-2024-2192
python3 security update
-
OESA-2024-2193
python3 security update
-
RHSA-2024:3347
Red Hat Security Advisory: python3 security update
-
RHSA-2024:3391
Red Hat Security Advisory: python3 security update
-
RHSA-2024:3466
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
-
RHSA-2024:4058
Red Hat Security Advisory: python3.11 security update
-
RHSA-2024:4077
Red Hat Security Advisory: python3.11 security update
-
RHSA-2024:4078
Red Hat Security Advisory: python3.9 security update
-
RHSA-2024:4166
Red Hat Security Advisory: python3 security update
-
RHSA-2024:4370
Red Hat Security Advisory: python3 security update
-
RHSA-2024:4406
Red Hat Security Advisory: python3 security update
-
RHSA-2024:4456
Red Hat Security Advisory: python3 security update
-
RHSA-2024:4896
Red Hat Security Advisory: python3.11 security update
-
RHSA-2024:5535
Red Hat Security Advisory: python3.9 security update
-
RHSA-2024:5689
Red Hat Security Advisory: python3.9 security update
-
RLSA-2024:3347
Important: python3 security update
-
RLSA-2024:4077
Important: python3.11 security update
-
RLSA-2024:4078
Important: python3.9 security update
-
SUSE-SU-2024:0782-1
Security update for python311
-
SUSE-SU-2024:0782-2
Security update for python311
-
SUSE-SU-2024:0784-1
Security update for python39
-
SUSE-SU-2024:0785-1
Security update for python3
-
SUSE-SU-2024:0820-1
Security update for python310
-
SUSE-SU-2024:0850-1
Security update for python3
-
SUSE-SU-2024:0901-1
Security update for python3
-
SUSE-SU-2024:1009-1
Security update for python39
-
SUSE-SU-2024:1162-1
Security update for python310
-
SUSE-SU-2024:1556-1
Security update for python311
-
SUSE-SU-2024:1847-1
Security update for python36
-
SUSE-SU-2025:20154-1
Security update for python311
-
SUSE-SU-2025:20374-1
Security update for python311
-
SUSEVEX-CVE-2023-6597
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…
-
UBUNTU-CVE-2023-6597
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…
-
USN-6891-1
python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities
-
openSUSE-SU-2024:13736-1
python38-3.8.18-5.1 on GA media
-
openSUSE-SU-2024:13739-1
python310-3.10.13-5.1 on GA media
-
openSUSE-SU-2024:13740-1
python311-3.11.8-3.1 on GA media
-
openSUSE-SU-2024:13741-1
python39-3.9.18-5.1 on GA media
-
openSUSE-SU-2024:13744-1
python312-3.12.2-4.1 on GA media
References
- http://www.openwall.com/lists/oss-security/2024/03/20/5
- https://github.com/python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a
- https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25
- https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5
- https://github.com/python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d
- https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82
- https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b
- https://github.com/python/cpython/issues/91133
- https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/
- https://mail.python.org/archives/list/[email protected]/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/
- https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html