An issue was found in the CPython `tempfile...
High severity
Unreviewed
Published
Mar 19, 2024
to the GitHub Advisory Database
•
Updated Jun 10, 2024
Description
Published by the National Vulnerability Database
Mar 19, 2024
Published to the GitHub Advisory Database
Mar 19, 2024
Last updated
Jun 10, 2024
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.
References