Advisory

USN-4973-2

Also known as: CVE-2021-29921

Summary

python3.8 vulnerability

Details

USN-4973-1 fixed this vulnerability previously, but it was re-introduced
in python3.8 in focal because of the SRU in LP: #1928057. This update fixes
the problem.

Original advisory details:

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.

Severity

Not rated by the source.

Dates

Published
2021-10-04 12:04 UTC
Modified
2026-04-22 10:15 UTC

Affected packages and fixes

python3.8

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.8.10-0ubuntu1~20.04.1 (ecosystem)

Fixed versions

3.8.10-0ubuntu1~20.04.1

Fix

  • Fixed version 3.8.10-0ubuntu1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences