USN-7488-1

Type: Security
Severity: Medium
Published: 2025-05-06
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

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 python 2.7 and python3.4 on Ubuntu 14.04 LTS; python2.7 on Ubuntu 16.04 LTS; python2.7, python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python2.7 and python3.9 on Ubuntu 20.04 LTS; and python2.7 and python3.11 on Ubuntu 22.04 LTS. (CVE-2024-11168) It was discovered that Python allowed excessive backtracking while parsing certain tarfile headers. A remote attacker could possibly use this issue to cause Python to consume excessive resources, leading to a denial of service. This issue only affected python3.4 on Ubuntu 14.04 LTS; python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python3.9 on Ubuntu 20.04 LTS; and python3.11 on Ubuntu 22.04 LTS. (CVE-2024-6232) It was discovered that Python incorrectly handled quoted 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. This issue only affected python3.4 on Ubuntu 14.04 LTS; python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python3.9 on Ubuntu 20.04 LTS; python3.11 on Ubuntu 22.04 LTS; and python3.13 on Ubuntu 24.10. (CVE-2024-9287) Update Instructions: Run `sudo pro fix USN-7488-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: idle-python2.7 - 2.7.18-1~20.04.7+esm6 libpython2.7 - 2.7.18-1~20.04.7+esm6 libpython2.7-dev - 2.7.18-1~20.04.7+esm6 libpython2.7-minimal - 2.7.18-1~20.04.7+esm6 libpython2.7-stdlib - 2.7.18-1~20.04.7+esm6 libpython2.7-testsuite - 2.7.18-1~20.04.7+esm6 python2.7 - 2.7.18-1~20.04.7+esm6 python2.7-dev - 2.7.18-1~20.04.7+esm6 python2.7-doc - 2.7.18-1~20.04.7+esm6 python2.7-examples - 2.7.18-1~20.04.7+esm6 python2.7-minimal - 2.7.18-1~20.04.7+esm6 Available with Ubuntu Pro: https://ubuntu.com/pro idle-python3.9 - 3.9.5-3ubuntu0~20.04.1+esm3 libpython3.9 - 3.9.5-3ubuntu0~20.04.1+esm3 libpython3.9-dev - 3.9.5-3ubuntu0~20.04.1+esm3 libpython3.9-minimal - 3.9.5-3ubuntu0~20.04.1+esm3 libpython3.9-stdlib - 3.9.5-3ubuntu0~20.04.1+esm3 libpython3.9-testsuite - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9 - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-dev - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-doc - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-examples - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-full - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-minimal - 3.9.5-3ubuntu0~20.04.1+esm3 python3.9-venv - 3.9.5-3ubuntu0~20.04.1+esm3 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2025-11-26T08:50:37.549Z UTC.

Upstream Advisory

Affected Packages

  • idle-python2.7 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • libpython2.7 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • libpython2.7-dev 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • libpython2.7-minimal 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • libpython2.7-stdlib 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • libpython2.7-testsuite 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • python2.7 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • python2.7-dev 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • python2.7-doc 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • python2.7-examples 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • python2.7-minimal 2.7.18-1~20.04.7+esm6-2.7.18-1~20.04.7+esm6

  • idle-python2.7 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • libpython2.7 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • libpython2.7-dev 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • libpython2.7-minimal 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • libpython2.7-stdlib 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • libpython2.7-testsuite 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • python2.7 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • python2.7-dev 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • python2.7-doc 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • python2.7-examples 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

  • python2.7-minimal 2.7.18-13ubuntu1.5+esm5-2.7.18-13ubuntu1.5+esm5

Interested in being alerted when there are new versions of idle-python2.7 and the other packages? Set up an alert.
USN-7488-1: Python vulnerabilities | Package Alert