CVE-2023-6597
Last modified
CVE-2023-6597 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. . EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-6597?
How severe is CVE-2023-6597?
How do I fix CVE-2023-6597?
Are you affected by CVE-2023-6597?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
