# CVE-2024-11168: Improper validation of IPv6 and IPvFuture addresses

- Severity: Medium 6.3 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-11-12T21:22:23.438Z
- Modified: 2026-06-17T06:57:12.077Z
- Also known as: PSF-2024-13, BIT-LIBPYTHON-2024-11168, BIT-PYTHON-2024-11168, BIT-PYTHON-MIN-2024-11168
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: PSF

## Description

The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.9.21; from 3.10.0 before 3.10.16; from 3.11.0 before 3.11.4; from 3.12.0a1 before 3.12.0b1
- python_software_foundation cpython: before 3.11.4; from 3.12.0a1 before 3.12.0b1
- https://github.com/python/cpython: before 29f348e232e82938ba2165843c448c2b291504c5; before b2171a2fd41416cf68afd67460578631d755a550; before 634ded45545ce8cbd6fd5d49785613dd7fa9b89e; before ddca2953191c67a12b1f19d6bca41016c6ae7132
- libpython (Bitnami): before 3.9.21; from 3.10.0 before 3.10.16; from 3.11.0 before 3.11.4
- python (Bitnami): before 3.9.21; from 3.10.0 before 3.10.16; from 3.11.0 before 3.11.4
- python-min (Bitnami): before 3.9.21; from 3.10.0 before 3.10.16; from 3.11.0 before 3.11.4

## Every score

- PSF: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:N`
- CISA-ADP: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5> (fix, patch, web)
- <https://github.com/python/cpython/pull/103849> (patch, web)
- <https://github.com/python/cpython/issues/103848> (issue-tracking, report, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550> (fix, patch, web)
- <https://github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89e> (fix, patch, web)
- <https://github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132> (fix, patch, web)
- <https://security.netapp.com/advisory/ntap-20250411-0004/> (web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-11168> (web)

## Sources

- CVE List: [CVE-2024-11168](https://www.cve.org/CVERecord?id=CVE-2024-11168), CVE Terms of Use, modified 2025-11-03
- Python Software Foundation: [PSF-2024-13](https://osv.dev/vulnerability/PSF-2024-13), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2024-11168](https://nvd.nist.gov/vuln/detail/CVE-2024-11168), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2024-11168](https://osv.dev/vulnerability/BIT-LIBPYTHON-2024-11168), Apache-2.0, modified 2025-11-06
- Bitnami Vulnerability Database: [BIT-PYTHON-2024-11168](https://osv.dev/vulnerability/BIT-PYTHON-2024-11168), Apache-2.0, modified 2025-11-06
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2024-11168](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2024-11168), Apache-2.0, modified 2025-11-06

---

Page: https://cve.day/CVE-2024-11168 · Whole record: https://cve.day/CVE-2024-11168.json · Rebuilt by cve.day 2026-11-25T22:58:48.166Z
