TROYANOSYVIRUS
Back to CVEs

CVE-2021-29921

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published5/6/2021
Last Modified11/3/2025
Sourcenvd
Honeypot Sightings0

Affected Products

oracle:communications_cloud_native_core_automated_test_suiteoracle:communications_cloud_native_core_binding_support_functionoracle:communications_cloud_native_core_network_slice_selection_functionoracle:graalvmoracle:zfs_storage_appliance_kitpython:python

References

https://bugs.python.org/issue36384(af854a3a-2127-422b-91ae-364da2661108)
https://docs.python.org/3/library/ipaddress.html(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/python/cpython/pull/12577(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/python/cpython/pull/25099(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/sickcodes(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/202305-02(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20210622-0003/(af854a3a-2127-422b-91ae-364da2661108)
https://sick.codes/sick-2021-014(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com//security-alerts/cpujul2021.html(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com/security-alerts/cpuapr2022.html(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com/security-alerts/cpujan2022.html(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com/security-alerts/cpujul2022.html(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com/security-alerts/cpuoct2021.html(af854a3a-2127-422b-91ae-364da2661108)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.