Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-6597

Published: 19 March 2024

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.

Notes

AuthorNote
allenpthuang
this was introduced in https://github.com/python/cpython/pull/10320/commits/dcd67c568a477ddf7524e373ac266d2f087e5665

Mitigation

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

Priority

Medium

Status

Package Release Status
python2.7
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

jammy Needs triage

mantic Does not exist

noble Does not exist

trusty Needs triage

upstream Needs triage

xenial Needs triage

python3.10
Launchpad, Ubuntu, Debian
focal Does not exist

jammy
Released (3.10.12-1~22.04.4)
mantic Does not exist

noble Does not exist

upstream
Released (3.10.14)
python3.11
Launchpad, Ubuntu, Debian
focal Does not exist

jammy Needs triage

mantic
Released (3.11.6-3ubuntu0.1)
noble Does not exist

upstream Needs triage

python3.12
Launchpad, Ubuntu, Debian
focal Does not exist

jammy Does not exist

mantic
Released (3.12.0-1ubuntu0.1)
noble Needs triage

upstream Needs triage

python3.4
Launchpad, Ubuntu, Debian
focal Does not exist

jammy Does not exist

mantic Does not exist

noble Does not exist

trusty Needs triage

upstream Needs triage

python3.5
Launchpad, Ubuntu, Debian
focal Does not exist

jammy Does not exist

mantic Does not exist

noble Does not exist

trusty Not vulnerable
(code not present)
upstream Needs triage

xenial
Released (3.5.2-2ubuntu0~16.04.13+esm13)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
python3.6
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Does not exist

jammy Does not exist

mantic Does not exist

noble Does not exist

upstream Needs triage

python3.7
Launchpad, Ubuntu, Debian
bionic
Released (3.7.5-2ubuntu1~18.04.2+esm3)
Available with Ubuntu Pro
focal Does not exist

jammy Does not exist

mantic Does not exist

noble Does not exist

upstream Needs triage

python3.8
Launchpad, Ubuntu, Debian
bionic
Released (3.8.0-3ubuntu1~18.04.2+esm2)
Available with Ubuntu Pro
focal
Released (3.8.10-0ubuntu1~20.04.10)
jammy Does not exist

mantic Does not exist

noble Does not exist

upstream
Released (3.8.19)
python3.9
Launchpad, Ubuntu, Debian
focal
Released (3.9.5-3ubuntu0~20.04.1+esm2)
Available with Ubuntu Pro
jammy Does not exist

mantic Does not exist

noble Does not exist

upstream
Released (3.9.19)