Packages
Details
USN-7348-1 fixed vulnerabilities in Python. The update introduced a
regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the Python ipaddress module contained incorrect
 information about which IP address ranges were considered “private” or
 “globally reachable”. This could possibly result in applications applying
 incorrect security policies. This issue only affected Ubuntu 14.04 LTS
 and Ubuntu 16.04 LTS. (CVE-2024-4032)
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. (CVE-2024-9287)
It was discovered that Python incorrectly handled parsing bracketed...
USN-7348-1 fixed vulnerabilities in Python. The update introduced a
regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the Python ipaddress module contained incorrect
 information about which IP address ranges were considered “private” or
 “globally reachable”. This could possibly result in applications applying
 incorrect security policies. This issue only affected Ubuntu 14.04 LTS
 and Ubuntu 16.04 LTS. (CVE-2024-4032)
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. (CVE-2024-9287)
It was discovered that Python incorrectly handled parsing bracketed hosts.
 A remote attacker could possibly use this issue to perform a Server-Side
 Request Forgery (SSRF) attack. This issue only affected Ubuntu 14.04 LTS
 and Ubuntu 16.04 LTS. (CVE-2024-11168)
It was discovered that Python incorrectly handled parsing domain names that
 included square brackets. A remote attacker could possibly use this issue
 to perform a Server-Side Request Forgery (SSRF) attack. (CVE-2025-0938)
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 | ||
|---|---|---|---|
| 20.04 LTS focal | python3.8 – 3.8.10-0ubuntu1~20.04.18 | ||
| python3.8-minimal – 3.8.10-0ubuntu1~20.04.18 | |||
| python3.8-venv – 3.8.10-0ubuntu1~20.04.18 | |||
| 16.04 LTS xenial | python3.5 – 3.5.2-2ubuntu0~16.04.13+esm18 | ||
| python3.5-minimal – 3.5.2-2ubuntu0~16.04.13+esm18 | |||
| python3.5-venv – 3.5.2-2ubuntu0~16.04.13+esm18 | |||
| 14.04 LTS trusty | python3.5 – 3.5.2-2ubuntu0~16.04.4~14.04.1+esm6 | ||
| python3.5-minimal – 3.5.2-2ubuntu0~16.04.4~14.04.1+esm6 | |||
| python3.5-venv – 3.5.2-2ubuntu0~16.04.4~14.04.1+esm6 | |||
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.