CVE-2021-29921 — In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the…
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 6.9% (30-day exploitation probability)+14
- Technical severity (critical)+10
- Automatable exploitation (SSVC)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — bugs.python.org (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Oracle Communications Cloud Native Core Automated Test Suite, Oracle Communications Cloud Native Core Binding Support Function, Oracle Communications Cloud Native Core Network Slice Selection Function…).
- The attack is network-based and needs no privileges: restrict exposure (ACLs, VPN, WAF) until patched.
- Apply the fixed version or the patch documented under Remediation.
- EPSS ahead of 94% of scored CVEs: prioritize it in the patch queue.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Oracle | Communications Cloud Native Core Automated Test Suite | version 1.8.0 | Vulnerable | NIST National Vulnerability Database |
| Oracle | Communications Cloud Native Core Binding Support Function | version 1.11.0 | Vulnerable | NIST National Vulnerability Database |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | version 1.8.0 | Vulnerable | NIST National Vulnerability Database |
| Oracle | Graalvm | version 20.3.2version 21.1.0 | Vulnerable | NIST National Vulnerability Database |
| Oracle | Zfs Storage Appliance Kit | version 8.8 | Vulnerable | NIST National Vulnerability Database |
| Python | Python | ≥ 3.8.0 and < 3.8.12≥ 3.9.0 and < 3.9.5 | Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | Critical | 3.9 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
| 7.5 | CVSS 2.0 | High | 10.0 | 6.4 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (score shown at the top: nvd@nist.gov) EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 6.88%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
Timeline
What happened to this CVE, newest first.
- 2026
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 9.8
- Source status changed · → Modified
- Record created in this database
- 2021
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
17 on the record
- python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
- docs.python.org/3/library/ipaddress.html
- bugs.python.org/issue36384
- www.oracle.com/security-alerts/cpuoct2021.html
- www.oracle.com/security-alerts/cpujan2022.html
- github.com/python/cpython/pull/12577
- www.oracle.com//security-alerts/cpujul2021.html
- github.com/python/cpython/pull/25099
- www.oracle.com/security-alerts/cpuapr2022.html
- github.com/sickcodes
- github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
- security.gentoo.org/glsa/202305-02
- github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEW
- lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- www.oracle.com/security-alerts/cpujul2022.html
- sick.codes/sick-2021-014
- security.netapp.com/advisory/ntap-20210622-0003/
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-87288 Improper Access Control in Oracle Graalvm Sep 15, 2026
- High CVE-2026-87286 Improper Access Control in Oracle Graalvm Sep 15, 2026
- High CVE-2026-87287 Improper Access Control in Oracle Graalvm Sep 15, 2026
- High CVE-2026-62574 Improper Access Control in Oracle Jre Jul 21, 2026
- Medium CVE-2026-60147 Improper Access Control in Oracle Jre Jul 21, 2026
- High CVE-2026-47063 Improper Access Control in Oracle Jre Jul 21, 2026
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No CWE classification.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2021-29921 is "In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the…", rated Critical. It affects Communications Cloud Native Core Automated Test Suite (Oracle); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 9.8 describes technical severity. EPSS 6.88% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.