ADVISORIES

Ubuntu Security Notice

USN-7116-1

python3.10, python3.12, python3.8 vulnerability

Details

It was discovered that Python incorrectly handled quoting path names when using the venv module. A local attacker able to control virtual environments could possibly use this issue to execute arbitrary code when the virtual environment is activated.

Affected packages

EcosystemPackageAffected versions
Ubuntu:20.04:LTSpython3.8
All versions before 3.8.10-0ubuntu1~20.04.13 (fixed in 3.8.10-0ubuntu1~20.04.13)
Ubuntu:22.04:LTSpython3.10
All versions before 3.10.12-1~22.04.7 (fixed in 3.10.12-1~22.04.7)
Ubuntu:24.04:LTSpython3.12
All versions before 3.12.3-1ubuntu0.3 (fixed in 3.12.3-1ubuntu0.3)

References