CVE-2021-29921

CRITICAL CVSS 3.1: 9.8 EPSS 6.76%
Updated Oct 09, 2026
Python
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 3.8.0 — 3.9.5
Fixed In 3.8.12
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 8

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.8.0 3.8.12
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.9.0 3.9.5
Oracle Communications_Cloud_Native_Core_Automated_Test_Suite
cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*
— —
Oracle Communications_Cloud_Native_Core_Binding_Support_Function
cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:*
— —
Oracle Communications_Cloud_Native_Core_Network_Slice_Selection_Function
cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:*
— —
Oracle Graalvm
cpe:2.3:a:oracle:graalvm:20.3.2:*:*:*:enterprise:*:*:*
— —
Oracle Graalvm
cpe:2.3:a:oracle:graalvm:21.1.0:*:*:*:enterprise:*:*:*
— —
Oracle Zfs_Storage_Appliance_Kit
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
— —