CVE-2021-29921
Python · 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 6.761% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.8 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:40:37.493Z
CVSS 2.0 · 7.5 · published by [email protected]AV:N/AC:L/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T12:40:37.493Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | verified | 2026-11-19T12:40:37.493Z | NVD |
| epss | verified | 2026-11-19T13:00:02.505Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:55:56.939Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:56.939Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/sickcodes",
"tags": [
"x_transferred"
]
},
{
"url": "https://docs.python.org/3/library/ipaddress.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst",
"tags": [
"x_transferred"
]
},
{
"url": "https://sick.codes/sick-2021-014",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md",
"tags": [
"x_transferred"
]
},
{
"url": "https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://bugs.python.org/issue36384",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/pull/12577",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/python/cpython/pull/25099",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20210622-0003/",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujan2022.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202305-02",
"name": "GLSA-202305-02",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-03T21:44:43.122Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-29921",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-08T21:08:18.432552Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-08T21:13:55.262Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AECFC6AC-5ECE-45F8-97F2-6D8D33C49F80",
"versionEndExcluding": "3.8.12",
"versionStartIncluding": "3.8.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "91FD0AF9-B011-4238-8CF1-BDEA0399AF82",
"versionEndExcluding": "3.9.5",
"versionStartIncluding": "3.9.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "98FB24DB-AF91-48D0-9CA5-C8250D183FD5"
},
{
"criteria": "cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "10323322-F6C0-4EA7-9344-736F7A80AA5F"
},
{
"criteria": "cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3AA09838-BF13-46AC-BB97-A69F48B73A8A"
},
{
"criteria": "cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C21EB1C3-3251-4B99-9D5F-E4E089E2EC62"
},
{
"criteria": "cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CA0CBB5F-6CA5-4DFC-97A3-05643F8885DB"
},
{
"criteria": "cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D3E503FB-6279-4D4A-91D8-E237ECF9D2B0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:40:37.493ZArchived source JSON
Source publication: 2021-05-06T13:15:12.573Z
Source modification: 2026-10-08T22:17:09.223ZDocument fingerprint
5bdcb72819ddb1e8f34931bff43735b4dc074aee90667bff0ef3dbbf8d6b62c6 - CVE ProgramConsulted: 2026-11-19T12:55:56.939ZArchived source JSON
Source publication: 2021-05-06T00:00:00.000Z
Source modification: 2026-10-08T21:13:55.262ZDocument fingerprint
459d767abe7c30b0a4046b4ffe79f6c15c204a7791e53d77a202f108415222f6 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T13:00:02.505ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
893dd45c00893fd2a0e6afbbf6c4cdd5b69d8315ce6ec484c420f9a2afbe1d5c
Official status history
- UNKNOWN → PUBLISHED · · evidence