CVE-2023-6597
cpython tempfile symlink permission vulnerabilit
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.
INFO
Published Date :
March 19, 2024, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 8:44 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.8
Exploitability Score :
1.4
Public PoC/Exploit Available at Github
CVE-2023-6597 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-6597
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Ini adalah repository kumpulan CVE v.5
allcve cve cvelist newcve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-6597
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-6597
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2024/03/20/5 Added Reference https://github.com/python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a Added Reference https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25 Added Reference https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5 Added Reference https://github.com/python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d Added Reference https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82 Added Reference https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b Added Reference https://github.com/python/cpython/issues/91133 Added Reference https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/ Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/ Added Reference https://mail.python.org/archives/list/[email protected]/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/ -
CVE Modified by [email protected]
Jun. 13, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference Python Software Foundation https://lists.fedoraproject.org/archives/list/[email protected]/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/ [No types assigned] -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference Python Software Foundation https://lists.fedoraproject.org/archives/list/[email protected]/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/ [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 01, 2024
Action Type Old Value New Value Added Reference Python Software Foundation http://www.openwall.com/lists/oss-security/2024/03/20/5 [No types assigned] -
CVE Modified by [email protected]
Apr. 03, 2024
Action Type Old Value New Value Changed Description An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.2, 3.11.8, 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. 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. -
CVE Modified by [email protected]
Mar. 24, 2024
Action Type Old Value New Value Added Reference Python Software Foundation https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html [No types assigned] -
CVE Received by [email protected]
Mar. 19, 2024
Action Type Old Value New Value Added Description An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.2, 3.11.8, 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. Added Reference Python Software Foundation https://github.com/python/cpython/commit/81c16cd94ec38d61aa478b9a452436dc3b1b524d [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5 [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25 [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82 [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/commit/02a9259c717738dfe6b463c44d7e17f2b6d2cb3a [No types assigned] Added Reference Python Software Foundation https://github.com/python/cpython/issues/91133 [No types assigned] Added Reference Python Software Foundation https://mail.python.org/archives/list/[email protected]/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/ [No types assigned] Added CVSS V3.1 Python Software Foundation AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-6597
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-6597
weaknesses.