{"id":"CVE-2024-4032","aliases":["CVE-2024-4032","PSF-2024-5","BIT-LIBPYTHON-2024-4032","BIT-PYTHON-2024-4032","BIT-PYTHON-MIN-2024-4032"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect IPv4 and IPv6 private ranges","summary":"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.\n\nCPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nCPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"},{"lang":"en","text":"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.\n\nCPython 3.12.4 and 3.13.0 contain updated information from these registries and thus have the intended behavior.","format":"markdown","source":"bitnami"}],"published":"2024-06-17T15:05:58.827Z","modified":"2026-06-17T08:00:58.983Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-697"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.8.20","status":"affected"},{"type":"python","introduced":"3.9.0","fixed":"3.9.20","status":"affected"},{"type":"python","introduced":"3.10.0","fixed":"3.10.15","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.10","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.4","status":"affected"},{"type":"python","introduced":"3.13.0a1","fixed":"3.13.0a6","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.12.4","status":"affected"},{"type":"custom","introduced":"3.13.0a1","fixed":"3.13.0a6","status":"affected"}],"vendor":"python","product":"cpython","cpe":"cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"22adf29da8d99933ffed8647d3e0726edd16f7f8"},{"type":"git","status":"affected","fixed":"40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f"},{"type":"git","status":"affected","fixed":"895f7e2ac23eff4743143beef0f0c5ac71ea27d3"},{"type":"git","status":"affected","fixed":"ba431579efdcbaed7a96f2ac4ea0775879a332fb"},{"type":"git","status":"affected","fixed":"c62c9e518b784fe44432a3f4fc265fb95b651906"},{"type":"git","status":"affected","fixed":"f86b17ac511e68192ba71f27e752321a3252cee3"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.4"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.4"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.4"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/issues/113171","tags":["issue-tracking","report","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/113179","tags":["patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml","tags":["web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml","tags":["web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/22adf29da8d99933ffed8647d3e0726edd16f7f8","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/40d75c2b7f5c67e254d0a025e0f2e2c7ada7f69f","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/895f7e2ac23eff4743143beef0f0c5ac71ea27d3","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/ba431579efdcbaed7a96f2ac4ea0775879a332fb","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/c62c9e518b784fe44432a3f4fc265fb95b651906","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/f86b17ac511e68192ba71f27e752321a3252cee3","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/17/3","tags":["web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20240726-0004/","tags":["web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4032","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-08T18:21:11.207Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4032","url":"https://www.cve.org/CVERecord?id=CVE-2024-4032","licence":"CVE Terms of Use","modified":"2025-11-03T21:57:16.975Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2024-5","url":"https://osv.dev/vulnerability/PSF-2024-5","licence":"CC-BY-4.0","modified":"2025-10-09T01:04:59.543Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4032","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4032","licence":"Public domain","modified":"2026-06-17T08:00:58.983Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2024-4032","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2024-4032","licence":"Apache-2.0","modified":"2026-05-11T18:30:20.496Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2024-4032","url":"https://osv.dev/vulnerability/BIT-PYTHON-2024-4032","licence":"Apache-2.0","modified":"2026-05-11T18:30:25.650Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2024-4032","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2024-4032","licence":"Apache-2.0","modified":"2026-05-11T18:30:24.331Z"}],"updatedAt":"2026-11-25T22:58:41.950Z","epss":{"score":0.01079,"percentile":0.66101,"date":"2026-12-02T12:00:21.000Z"}}