Low severity · published Nov 12, 2024
CVE-2024-11168
Improper validation of IPv6 and IPvFuture addresses
3.7
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.9.21; 3.10.0 before 3.10.16; 3.11.0 before 3.11.4; 3.12.0a1 before 3.12.0b1 · source: vendor, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-11168
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-11168
github.com
https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5
github.com
https://github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89e
github.com
https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550
github.com
https://github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132
github.com
https://github.com/python/cpython/issues/103848
github.com
https://github.com/python/cpython/pull/103849
More from CPython
9.4
CVE-2026-115557
Distrust compromised intermediate certificates in ssl module
9.4
CVE-2025-4517
Arbitrary writes via tarfile realpath overflow
9.2
CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
8.8
CVE-2026-3298
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
8.7
CVE-2024-8088
Infinite loop when iterating over zip archive entry names from zipfile.Path
