CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
Percentile
81.7%
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.
Author | Note |
---|---|
mdeslaur | introduced in v3.8.0a4 This issue was re-introduced in python3.8 in focal because of the SRU in LP: #1928057 |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 21.04 | noarch | python3.10 | < 3.10.0~b1-3~21.04 | UNKNOWN |
ubuntu | 18.04 | noarch | python3.8 | < 3.8.0-3ubuntu1~18.04.2+esm2 | UNKNOWN |
ubuntu | 20.04 | noarch | python3.8 | < 3.8.10-0ubuntu1~20.04.1 | UNKNOWN |
ubuntu | 20.10 | noarch | python3.8 | < 3.8.6-1ubuntu0.3 | UNKNOWN |
ubuntu | 20.04 | noarch | python3.9 | < 3.9.5-3~20.04.1 | UNKNOWN |
ubuntu | 20.10 | noarch | python3.9 | < 3.9.5-3~20.10.1 | UNKNOWN |
ubuntu | 21.04 | noarch | python3.9 | < 3.9.5-3~21.04 | UNKNOWN |
ubuntu | 21.10 | noarch | python3.9 | < 3.9.5-2ubuntu1 | UNKNOWN |
docs.python.org/3/library/ipaddress.html
github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst
github.com/python/cpython/pull/12577
github.com/python/cpython/pull/25099
github.com/sickcodes
github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
launchpad.net/bugs/cve/CVE-2021-29921
nvd.nist.gov/vuln/detail/CVE-2021-29921
python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
security-tracker.debian.org/tracker/CVE-2021-29921
sick.codes/sick-2021-014
ubuntu.com/security/notices/USN-4973-1
ubuntu.com/security/notices/USN-4973-2
ubuntu.com/security/notices/USN-6891-1
www.cve.org/CVERecord?id=CVE-2021-29921
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
Percentile
81.7%