6.3medium
Improper validation of IPv6 and IPvFuture addresses
- Severity
- 6.3medium CVSS:4.0 by PSF
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PSF
- Also known as
- PSF-2024-13BIT-LIBPYTHON-2024-11168BIT-PYTHON-2024-11168BIT-PYTHON-MIN-2024-11168
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| python_software_foundation cpython | before 3.11.4, from 3.12.0a1 before 3.12.0b1 | CVE List |
| https://github.com/python/cpython | before 29f348e232e82938ba2165843c448c2b291504c5, before b2171a2fd41416cf68afd67460578631d755a550, before 634ded45545ce8cbd6fd5d49785613dd7fa9b89e, before ddca2953191c67a12b1f19d6bca41016c6ae7132 | Python Software Foundation |
| libpython (Bitnami) | before 3.9.21, from 3.10.0 before 3.10.16, from 3.11.0 before 3.11.4 | Bitnami Vulnerability Database |
| python (Bitnami) | before 3.9.21, from 3.10.0 before 3.10.16, from 3.11.0 before 3.11.4 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 3.9.21, from 3.10.0 before 3.10.16, from 3.11.0 before 3.11.4 | Bitnami Vulnerability Database |
All scores
| PSF | 6.3medium CVSS:4.0 | 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 | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las funciones urllib.parse.urlsplit() y urlparse() validaron incorrectamente los hosts entre corchetes (`[]`), lo que permitió el uso de hosts que no eran IPv6 o IPvFuture. Este comportamiento no se ajustaba a RFC 3986 y potencialmente habilitaba SSRF si una URL es procesada por más de un analizador de URL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-11168 changed 2025-11-03 | CVE Terms of Use |
| Python Software Foundation | PSF-2024-13 changed 2025-10-09 | CC-BY-4.0 |
| NVD | CVE-2024-11168 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2024-11168 changed 2025-11-06 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2024-11168 changed 2025-11-06 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2024-11168 changed 2025-11-06 | Apache-2.0 |