CVE-2021-29921
CVE-2021-29921
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.
Affected products
n/a · n/aWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://bugs.python.org/issue36384https://docs.python.org/3/library/ipaddress.htmlhttps://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rsthttps://github.com/python/cpython/pull/12577https://github.com/python/cpython/pull/25099https://github.com/sickcodeshttps://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.mdhttps://lists.debian.org/debian-lts-announce/2024/12/msg00000.htmlhttps://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.htmlhttps://security.gentoo.org/glsa/202305-02https://security.netapp.com/advisory/ntap-20210622-0003/https://sick.codes/sick-2021-014