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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- oracle / communications_cloud_native_core_automated_test_suite1.8.0 – 1.8.0
- oracle / communications_cloud_native_core_binding_support_function1.11.0 – 1.11.0
- oracle / communications_cloud_native_core_network_slice_selection_function1.8.0 – 1.8.0
- oracle / graalvm20.3.2 – 20.3.2
- oracle / graalvm21.1.0 – 21.1.0
- oracle / zfs_storage_appliance_kit8.8 – 8.8
- Python / python3.8.0 – 3.8.12
References
- MISChttps://github.com/sickcodes
- MISChttps://docs.python.org/3/library/ipaddress.html
- MISChttps://github.com/python/cpython/blob/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Misc/NEWS.d/3.8.0a4.rst
- MISChttps://sick.codes/sick-2021-014
- VENDOR_ADVISORYhttps://www.oracle.com//security-alerts/cpujul2021.html
- VENDOR_ADVISORYhttps://github.com/sickcodes/security/blob/master/advisories/SICK-2021-014.md
- MISChttps://python-security.readthedocs.io/vuln/ipaddress-ipv4-leading-zeros.html
- MISChttps://bugs.python.org/issue36384
- PATCHhttps://github.com/python/cpython/pull/12577
- PATCHhttps://github.com/python/cpython/pull/25099
- MISChttps://security.netapp.com/advisory/ntap-20210622-0003/
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuoct2021.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujan2022.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuapr2022.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujul2022.html
- MISChttps://security.gentoo.org/glsa/202305-02
Updated 41m ago · 8 sources