CVE-2021-29921

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-24. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3

Also known asEUVD-2021-16395 (ENISA EUVD) · GHSA-cxqv-r2cc-r9c9 (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 6.8%CVSS: 9.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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 v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
62
EG Risk 62/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation6.8% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
6.8%
EPSS %ILE
94th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
6.8% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-12). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

May 6, 2021

Last Modified

October 8, 2026

Advisory Details (10)

Auto-updated Nov 8, 2026
Patch available. Sources: github, github_pr.
Web page

Python, PyPy3: Multiple Vulnerabilities (GLSA 202305-02) — Gentoo security

https://security.gentoo.org/glsa/202305-02
Web page

ipaddress leading zeros in IPv4 address — Python Security 0.0 documentation

https://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
GitHub advisory

security/advisories/SICK-2021-014.md at master · sickcodes/security · GitHub

https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
Web page

sickcodes (sickcodes) · GitHub

https://github.com/sickcodes
GitHub pull request

bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated

Fix merged in python/cpython PR #25099 on 2021-05-02 — awaiting tagged release

https://github.com/python/cpython/pull/25099
GitHub pull request

bpo-36384: Remove check for leading zeroes in IPv4 addresses

Fix merged in python/cpython PR #12577 on 2019-03-30 — awaiting tagged release

https://github.com/python/cpython/pull/12577
Web page

cpython/Misc/NEWS.d/3.8.0a4.rst at 63298930fb531ba2bb4f23bc3b915dbf1e17e9e1 · python/cpython · GitHub

https://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst
Web page

ipaddress — IPv4/IPv6 manipulation library — Python 3.15.2 documentation

https://docs.python.org/3/library/ipaddress.html
Web page

Issue 36384: [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal - Python tracker

https://bugs.python.org/issue36384

Patch Availability(6)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3.8-doc (3.8.6-1ubuntu0.3) @ groovy2026-11-11ubuntu
ubuntupython3.8-doc (3.8.10-0ubuntu1~20.04.1) @ focal2026-11-11ubuntu
ubuntupython3.11-venv (3.11.0~rc1-1~22.04.1~esm1) @ jammy2026-11-11ubuntu
redhatpython39-devel:3.9-8050020210811100211.d428a79b2021-11-09redhat
redhatpython38-devel:3.8-8050020210811101222.e3d35cca2021-11-09redhat
redhatrh-python38-python-urllib3-0:1.25.7-7.el72021-08-24redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(14 across 14 ecosystems)
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.16(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.18(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.9.5-r0: fixed in 3.9.5-r0
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
python3.93.9.2-1, 3.9.2-1+deb11u1
  • every version up to 3.9.2-1+deb11u2: fixed in 3.9.2-1+deb11u2
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
pypy3—
  • every version up to 7.3.8+dfsg-1: fixed in 7.3.8+dfsg-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
pypy3—
  • every version up to 7.3.8+dfsg-1: fixed in 7.3.8+dfsg-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
pypy3—
  • every version up to 7.3.8+dfsg-1: fixed in 7.3.8+dfsg-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(3)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 21× in last 7d / 93× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 321 rows on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 221 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-13 16:40 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  2. 2026-11-13 08:12 UTCEchelonGraph re-scored
  3. 2026-11-13 08:12 UTCVendor advisory
  4. 2026-11-13 08:12 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  5. 2026-11-12 16:29 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  6. 2026-11-12 09:04 UTCEchelonGraph re-scored
  7. 2026-11-12 09:04 UTCVendor advisory
  8. 2026-11-12 09:04 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-11 16:31 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  10. 2026-11-11 09:58 UTCEchelonGraph re-scored
  11. 2026-11-11 09:58 UTCVendor advisory
  12. 2026-11-11 09:58 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-10 16:34 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  14. 2026-11-10 10:51 UTCEchelonGraph re-scored
  15. 2026-11-10 10:51 UTCVendor advisory
  16. 2026-11-10 10:51 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  17. 2026-11-09 16:29 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  18. 2026-11-09 11:44 UTCEchelonGraph re-scored
  19. 2026-11-09 11:44 UTCVendor advisory
  20. 2026-11-09 11:44 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  21. 2026-11-08 16:33 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  22. 2026-11-08 12:37 UTCEchelonGraph re-scored
  23. 2026-11-08 12:37 UTCVendor advisory
  24. 2026-11-08 12:37 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  25. 2026-11-07 16:33 UTCEPSS rescoreEPSS 6.8% · 94th percentile
Show 75 more
  1. 2026-11-07 13:30 UTCEchelonGraph re-scored
  2. 2026-11-07 13:30 UTCVendor advisory
  3. 2026-11-07 13:30 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-06 16:30 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  5. 2026-11-06 14:24 UTCEchelonGraph re-scored
  6. 2026-11-06 14:24 UTCVendor advisory
  7. 2026-11-06 14:24 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  8. 2026-11-05 16:30 UTCEPSS rescoreEPSS 6.8% · 93rd percentile
  9. 2026-11-05 15:18 UTCEchelonGraph re-scored
  10. 2026-11-05 15:18 UTCVendor advisory
  11. 2026-11-05 15:18 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  12. 2026-11-04 16:29 UTCEPSS rescoreEPSS 6.8% · 93rd percentile
  13. 2026-11-04 16:11 UTCVendor advisory
  14. 2026-11-04 16:11 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  15. 2026-11-03 17:25 UTCOSV refresh
  16. 2026-11-03 17:02 UTCEchelonGraph re-scored
  17. 2026-11-03 17:02 UTCVendor advisory
  18. 2026-11-03 17:02 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  19. 2026-11-03 16:37 UTCEPSS rescoreEPSS 6.8% · 93rd percentile
  20. 2026-11-02 17:56 UTCEchelonGraph re-scored
  21. 2026-11-02 17:56 UTCVendor advisory
  22. 2026-11-02 17:56 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  23. 2026-11-02 16:37 UTCEPSS rescoreEPSS 6.8% · 93rd percentile
  24. 2026-11-01 18:48 UTCEchelonGraph re-scored
  25. 2026-11-01 18:48 UTCVendor advisory
  26. 2026-11-01 18:48 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  27. 2026-11-01 16:29 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  28. 2026-10-31 19:42 UTCEchelonGraph re-scored
  29. 2026-10-31 19:42 UTCVendor advisory
  30. 2026-10-31 19:42 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  31. 2026-10-31 16:28 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  32. 2026-10-30 20:35 UTCEchelonGraph re-scored
  33. 2026-10-30 20:35 UTCVendor advisory
  34. 2026-10-30 20:35 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  35. 2026-10-30 16:29 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  36. 2026-10-29 21:28 UTCEchelonGraph re-scored
  37. 2026-10-29 21:28 UTCVendor advisory
  38. 2026-10-29 21:28 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  39. 2026-10-29 16:29 UTCEPSS rescoreEPSS 6.8% · 94th percentile
  40. 2026-10-28 22:19 UTCEchelonGraph re-scored
  41. 2026-10-28 22:19 UTCVendor advisory
  42. 2026-10-28 22:19 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  43. 2026-10-28 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  44. 2026-10-27 23:13 UTCEchelonGraph re-scored
  45. 2026-10-27 23:13 UTCVendor advisory
  46. 2026-10-27 23:13 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  47. 2026-10-27 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  48. 2026-10-27 00:05 UTCEchelonGraph re-scored
  49. 2026-10-27 00:05 UTCVendor advisory
  50. 2026-10-27 00:05 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  51. 2026-10-26 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  52. 2026-10-25 21:23 UTCVendor advisory
  53. 2026-10-25 21:23 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  54. 2026-10-25 18:29 UTCEchelonGraph re-scored
  55. 2026-10-25 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  56. 2026-10-24 22:14 UTCEchelonGraph re-scored
  57. 2026-10-24 22:14 UTCVendor advisory
  58. 2026-10-24 22:14 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  59. 2026-10-24 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  60. 2026-10-23 23:07 UTCEchelonGraph re-scored
  61. 2026-10-23 23:07 UTCVendor advisory
  62. 2026-10-23 23:07 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  63. 2026-10-23 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  64. 2026-10-22 23:59 UTCEchelonGraph re-scored
  65. 2026-10-22 23:59 UTCVendor advisory
  66. 2026-10-22 23:59 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  67. 2026-10-22 16:29 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  68. 2026-10-22 00:45 UTCEchelonGraph re-scored
  69. 2026-10-22 00:45 UTCVendor advisory
  70. 2026-10-22 00:45 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  71. 2026-10-21 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile
  72. 2026-10-21 01:39 UTCEchelonGraph re-scored
  73. 2026-10-21 01:39 UTCVendor advisory
  74. 2026-10-21 01:39 UTCGHSA enrichmentGHSA-cxqv-r2cc-r9c9 · GitHub severity CRITICAL · GitHub CVSS 9.8
  75. 2026-10-20 16:28 UTCEPSS rescoreEPSS 6.9% · 94th percentile

Frequently asked(5)

What is CVE-2021-29921?
CVE-2021-29921 is a critical-severity vulnerability; its CVE record was published on May 6, 2021. 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.
When was the CVE record for CVE-2021-29921 published?
The CVE record for CVE-2021-29921 was published on May 6, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of October 8, 2026; the record at its source may have been updated since.
Is CVE-2021-29921 actively exploited?
CVE-2021-29921 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 6.8% probability of exploitation in the next 30 days (94th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-29921?
CVE-2021-29921 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2021-29921?
A fix for CVE-2021-29921 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-29921 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-29921

Explore →

Is Your Infrastructure Affected by CVE-2021-29921?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.