CVE-2024-11168
Low
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.
SeverityLow
CVSS3.7
Exploit probability—
ProductCPython
PublishedNov 12, 2024
First seenNov 12, 2024
Weakness typeCWE-918Server-side request forgery (SSRF)
How to fix
Update
- Python Software Foundation CPython3.9.21, 3.10.16, 3.11.4, 3.12.0b1 or later
Patches
- github.com/python/cpython/commit/29f348e232e82938ba2165843c448c2b291504c5
- github.com/python/cpython/pull/103849
- github.com/python/cpython/commit/b2171a2fd41416cf68afd67460578631d755a550
- github.com/python/cpython/commit/634ded45545ce8cbd6fd5d49785613dd7fa9b89e
- github.com/python/cpython/commit/ddca2953191c67a12b1f19d6bca41016c6ae7132
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | v < 3.9.21, 3.10.0 ≤ v < 3.10.16, 3.11.0 ≤ v < 3.11.4, 3.12.0a1 ≤ v < 3.12.0b1 | 3.9.21, 3.10.16, 3.11.4, 3.12.0b1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.