CVE-2021-29921

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
6.761%
chance of exploitation in the next 30 days
higher than 94.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impacttotal
Scored2026-10-08

Timeline

  1. 2021-05-06Published by the CNA00:00 UTC
  2. 2026-10-08CISA SSVC decision recorded1981 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
python pythonfrom 3.8.0 before 3.8.12fixed in 3.8.12from 3.9.0 before 3.9.5fixed in 3.9.53.8.123.9.5
oracle communications_cloud_native_core_automated_test_suite1.8.0no fix listednot listed
oracle communications_cloud_native_core_binding_support_function1.11.0no fix listednot listed
oracle communications_cloud_native_core_network_slice_selection_function1.8.0no fix listednot listed
oracle graalvm20.3.2no fix listed21.1.0no fix listednot listednot listed
oracle zfs_storage_appliance_kit8.8no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources