CVE-2024-4032

The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn’t be returned in accordance with the latest information from the IANA Special-Purpose Address Registries. CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.
References
Link Resource
http://www.openwall.com/lists/oss-security/2024/06/17/3
https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8
https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f
https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3
https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb
https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906
https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3
https://github.com/python/cpython/issues/113171
https://github.com/python/cpython/pull/113179
https://mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/
https://security.netapp.com/advisory/ntap-20240726-0004/
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
http://www.openwall.com/lists/oss-security/2024/06/17/3
https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8
https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f
https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3
https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb
https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906
https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3
https://github.com/python/cpython/issues/113171
https://github.com/python/cpython/pull/113179
https://mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/
https://security.netapp.com/advisory/ntap-20240726-0004/
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
Configurations

No configuration.

History

21 Nov 2024, 09:42

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2024/06/17/3 - () http://www.openwall.com/lists/oss-security/2024/06/17/3 -
References () https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8 - () https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8 -
References () https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f - () https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f -
References () https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3 - () https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3 -
References () https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb - () https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb -
References () https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906 - () https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906 -
References () https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3 - () https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3 -
References () https://github.com/python/cpython/issues/113171 - () https://github.com/python/cpython/issues/113171 -
References () https://github.com/python/cpython/pull/113179 - () https://github.com/python/cpython/pull/113179 -
References () https://mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/ - () https://mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/ -
References () https://security.netapp.com/advisory/ntap-20240726-0004/ - () https://security.netapp.com/advisory/ntap-20240726-0004/ -
References () https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml - () https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml -
References () https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml - () https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml -

29 Aug 2024, 21:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-697

28 Jul 2024, 14:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240726-0004/ -

20 Jun 2024, 12:44

Type Values Removed Values Added
Summary
  • (es) El módulo "ipaddress" contenía información incorrecta sobre si ciertas direcciones IPv4 e IPv6 estaban designadas como "accesibles globalmente" o "privadas". Esto afectó las propiedades is_private e is_global de las clases ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address y ipaddress.IPv6Network, donde los valores no se devolverían de acuerdo con la información más reciente de los Registros de direcciones de propósito especial de la IANA. CPython 3.12.4 y 3.13.0a6 contienen información actualizada de estos registros y, por lo tanto, tienen el comportamiento previsto.

17 Jun 2024, 18:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/06/17/3 -

17 Jun 2024, 16:15

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8 -
  • () https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f -
  • () https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3 -
  • () https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb -
  • () https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906 -
  • () https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3 -

17 Jun 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-17 15:15

Updated : 2024-11-21 09:42


NVD link : CVE-2024-4032

Mitre link : CVE-2024-4032

CVE.ORG link : CVE-2024-4032


JSON object : View

Products Affected

No product.

CWE
CWE-697

Incorrect Comparison