USN-7271-2: virtualenv vulnerability
Publication date
25 February 2025
Overview
virtualenv could be made to crash or run programs as your login if it opened a specially crafted file.
Releases
Packages
- python-virtualenv - tool to create isolated Python environments
Details
USN-7271-1 fixed a vulnerability in virtualenv. This update provides the
corresponding updates for Ubuntu 24.04 LTS.
Original advisory details:
It was discovered that virtualenv incorrectly handled paths when
activating virtual environments. An attacker could possibly use this issue
to execute arbitrary code.
USN-7271-1 fixed a vulnerability in virtualenv. This update provides the
corresponding updates for Ubuntu 24.04 LTS.
Original advisory details:
It was discovered that virtualenv incorrectly handled paths when
activating virtual environments. An attacker could possibly use this issue
to execute arbitrary code.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
Ubuntu Release | Package Version | ||
---|---|---|---|
24.04 noble | python3-virtualenv – 20.25.0+ds-2ubuntu0.1~esm1 | ||
virtualenv – 20.25.0+ds-2ubuntu0.1~esm1 |
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.