7.8
Advisory Published
CVE Published
Updated

CVE-2023-6597: Security fixes in Python 3.10.14, 3.9.19, and 3.8.19 (CVE-2023-6597 & CVE-2024-0450)

First published: Tue Mar 19 2024(Updated: )

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.

Credit: cna@python.org cna@python.org

Affected SoftwareAffected VersionHow to fix
debian/pypy3<=7.3.5+dfsg-2+deb11u2
7.3.5+dfsg-2+deb11u4
7.3.11+dfsg-2+deb12u2
7.3.17+dfsg-3
debian/python2.7
2.7.18-8+deb11u1
debian/python3.11
3.11.2-6+deb12u4
3.11.2-6+deb12u3
debian/python3.12
3.12.8-3
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u2

Remedy

allenpthuang> https://bugs.python.org/issue26660

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203