{"id":"CVE-2024-11168","published":"2024-11-12T21:22:23Z","modified":"2025-11-03T21:51:45Z","title":"Improper validation of IPv6 and IPvFuture addresses","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00971,"percentile":0.60582,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5","tags":["patch"]},{"url":"https://github.com/python/cpython/pull/103849","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/103848","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89e","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132","tags":["patch"]},{"url":"https://security.netapp.com/advisory/ntap-20250411-0004/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":[]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":12.12},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.9.21",">= 3.10.0, < 3.10.16",">= 3.11.0, < 3.11.4",">= 3.12.0a1, < 3.12.0b1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-11-13T15:09:42.748084Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-34319","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-software-foundation-cpython-cve-2019-9636","parents":[{"from":"CVE-2019-10160","to":"CVE-2024-11168","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/urllib/parse.py"],"commits":["https://github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e","https://github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de","https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5","https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550"],"basis":"shared function","functions":["_checknetloc"]}]}],"children":[{"from":"CVE-2024-11168","to":"CVE-2025-0938","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/urllib/parse.py"],"commits":["https://github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5","https://github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550","https://github.com/python/cpython/commit/d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a","https://github.com/python/cpython/commit/90e526ae67b172ed7c6c56e7edad36263b0f9403"],"basis":"shared function","functions":["_checknetloc","urlsplit"]}]}]}}