CVE-2021-29921 — Improper Input Validation in Python
Severity
9.8CRITICALNVD
EPSS
2.0%
top 16.11%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 6
Latest updateJul 11
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9
Affected Packages6 packages
Patches
🔴Vulnerability Details
3GHSA▶
GHSA-cxqv-r2cc-r9c9: Improper input validation of octal strings in Python stdlib ipaddress 3↗2022-05-24
CVEList▶
CVE-2021-29921: In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string↗2021-05-06
OSV▶
CVE-2021-29921: In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string↗2021-05-06
📋Vendor Advisories
8Oracle▶
Oracle Oracle Java SE Risk Matrix: Python interpreter and runtime (CPython) — CVE-2021-29921↗2021-07-15