CVE-2024-11168
Improper validation of IPv6 and IPvFuture addresses
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 12, 2024
- Updated
- Nov 3, 2025
- Reserved
- Nov 12, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 | PSF |
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | CISA-ADP |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
Affected Products
| Product | Versions |
|---|---|
CPythonPython Software Foundation |
|
References
- https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5patch
- https://github.com/python/cpython/pull/103849patch
- https://github.com/python/cpython/issues/103848issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/vendor-advisory
- https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550patch
- https://github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89epatch
- https://github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132patch
- https://security.netapp.com/advisory/ntap-20250411-0004/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.