CVE-2021-29921

python-ipaddress: Improper input validation of octal strings

Published May 6, 2021 CVSS 3.1 · 9.8 Critical EPSS 6.8% KEV · Not listed
Description
In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) allows attackers to bypass access control that is based on IP addresses.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3980-1 python3.9 security update
EUVD EUVD EUVD-2021-16395 In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) allows attackers to bypass access control that is based on IP addresses.
Ubuntu USN Ubuntu USN USN-4973-1 Python vulnerability
Ubuntu USN Ubuntu USN USN-4973-2 Python vulnerability
Ubuntu USN Ubuntu USN USN-6891-1 Python vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}