CVE-2021-29921
highpriority · track · 41EPSS 0.069 · 94 %ileDEEURUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (55)
Products and version ranges known to be affected.
- Avaya Aura Application Enablement Servicesall versionscert_bundDEcpe:/a:avaya:aura_application_enablement_services:-
advisories (6)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0464Oracle Java SE: Mehrere SchwachstellenDeutsch2021-07-20csaf · cert_bundDE
Ein entfernter, anonymer oder lokaler Angreifer kann mehrere Schwachstellen in Oracle Java SE ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- WID-SEC-W-2023-2460Python: Schwachstelle ermöglicht ManipulationDeutsch2021-05-03csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Python ausnutzen, um Dateien zu manipulieren.
- BIT-libpython-2021-299212025-08-11vendor · osvUS
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.
- BIT-python-2021-299212024-03-06vendor · osvUS
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.
- BIT-python-min-2021-299212025-01-16vendor · osvUS
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.
- PSF-2021-2ipaddress leading zeros in IPv4 address2021-05-06vendor · osvUS
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.
also known as (8)
Other names and identifiers for this entity.
- CNNVD-202104-2308cnnvd
- EUVD-2021-16395enisa_euvd
- BDU:2021-04696fstec_bdu
- GHSA-cxqv-r2cc-r9c9enisa_euvd
- BIT-libpython-2021-29921osv
- BIT-python-2021-29921osv
- BIT-python-min-2021-29921osv
- PSF-2021-2osv
sources
Which sources assert this record, and when.
references (68)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-29921cnnvd
- https://bugs.python.org/issue36384cnnvd
- https://docs.python.org/3/library/ipaddress.htmlcnnvd
- https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rstcnnvd
- https://github.com/python/cpython/pull/12577cnnvd
- https://github.com/python/cpython/pull/25099cnnvd
- https://github.com/sickcodescnnvd
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.mdcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan