USN-4973-1

Type: Security
Severity: Medium
Published: 2021-06-01
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that the Python stdlib ipaddress API incorrectly handled octal strings. A remote attacker could possibly use this issue to perform a wide variety of attacks, including bypassing certain access restrictions. Update Instructions: Run `sudo pro fix USN-4973-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3.8-minimal - 3.8.5-1~20.04.3 python3.8-examples - 3.8.5-1~20.04.3 python3.8-dev - 3.8.5-1~20.04.3 libpython3.8-minimal - 3.8.5-1~20.04.3 libpython3.8-dev - 3.8.5-1~20.04.3 python3.8-venv - 3.8.5-1~20.04.3 libpython3.8 - 3.8.5-1~20.04.3 idle-python3.8 - 3.8.5-1~20.04.3 libpython3.8-testsuite - 3.8.5-1~20.04.3 libpython3.8-stdlib - 3.8.5-1~20.04.3 python3.8 - 3.8.5-1~20.04.3 python3.8-doc - 3.8.5-1~20.04.3 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:43:46.512Z UTC.

Upstream Advisory

Affected Packages

  • python3.8-minimal 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • python3.8-examples 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • python3.8-dev 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • libpython3.8-minimal 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • libpython3.8-dev 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • python3.8-venv 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • libpython3.8 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • idle-python3.8 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • libpython3.8-testsuite 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • libpython3.8-stdlib 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • python3.8 3.8.5-1~20.04.3-3.8.5-1~20.04.3

  • python3.8-doc 3.8.5-1~20.04.3-3.8.5-1~20.04.3

Interested in being alerted when there are new versions of python3.8-minimal and the other packages? Set up an alert.
USN-4973-1: Python vulnerability | Package Alert