CVE-2021-29921
Last modified
CVE-2021-29921 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 6.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | >= 3.8.0, < 3.8.12 |
| Python | Python | >= 3.9.0, < 3.9.5 |
| Oracle | Communications Cloud Native Core Automated Test Suite | 1.8.0 |
| Oracle | Communications Cloud Native Core Binding Support Function | 1.11.0 |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 1.8.0 |
| Oracle | Graalvm | 20.3.2 |
| Oracle | Graalvm | 21.1.0 |
| Oracle | Zfs Storage Appliance Kit | 8.8 |
References
- https://bugs.python.org/issue36384Issue Tracking, Patch, Vendor Advisory
- https://docs.python.org/3/library/ipaddress.htmlVendor Advisory
- https://github.com/python/cpython/pull/12577Patch, Third Party Advisory
- https://github.com/python/cpython/pull/25099Patch, Third Party Advisory
- https://github.com/sickcodesThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.mdExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210622-0003/Third Party Advisory
- https://sick.codes/sick-2021-014Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatch, Third Party Advisory
- https://bugs.python.org/issue36384Issue Tracking, Patch, Vendor Advisory
- https://docs.python.org/3/library/ipaddress.htmlVendor Advisory
- https://github.com/python/cpython/pull/12577Patch, Third Party Advisory
- https://github.com/python/cpython/pull/25099Patch, Third Party Advisory
- https://github.com/sickcodesThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.mdExploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210622-0003/Third Party Advisory
- https://sick.codes/sick-2021-014Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29921?
How severe is CVE-2021-29921?
How do I fix CVE-2021-29921?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-29905IBM Jazz for Service Management 1.1.3.10 and IBM Tivoli Netc…5.4
- CVE-2021-29906IBM App Connect Enterprise Certified Container 1.0, 1.1, 1.2…5.5
- CVE-2021-29907IBM OpenPages with Watson 8.1 and 8.2 could allow an authent…8.8
- CVE-2021-29908The IBM TS7700 Management Interface is vulnerable to unauthe…9.8
- CVE-2021-29912IBM Security Risk Manager on CP4S 1.7.0.0 is vulnerable to c…5.4
- CVE-2021-29913 IBM Security Verify Privilege On-Premise 11.5 could allow a…7.1
- CVE-2021-29922library/std/src/net/parser.rs in Rust before 1.53.0 does not…9.1
- CVE-2021-29923Go before 1.17 does not properly consider extraneous zero ch…7.5
- CVE-2021-29929An issue was discovered in the endian_trait crate through 20…7.5
- CVE-2021-29930An issue was discovered in the arenavec crate through 2021-0…7.5
- CVE-2021-29931An issue was discovered in the arenavec crate through 2021-0…7.5
- CVE-2021-29932An issue was discovered in the parse_duration crate through …7.5
Are you affected by CVE-2021-29921?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
