USN-7116-1: Python vulnerability
19 November 2024
Python could be made to run programs when activating virtual environments.
Releases
Packages
- python3.10 - An interactive high-level object-oriented language
- python3.12 - An interactive high-level object-oriented language
- python3.8 - An interactive high-level object-oriented language
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.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.10
Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
In general, a standard system update will make all the necessary changes.