Skip to content
6.3 Medium

CVE-2024-11168 The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that…

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 products and versions

Product Affected versions Fixed in
CPython 3.12 3.12.0a1 → < 3.12.0b1 3.12.0b1
CPython 3.11 3.11.0 → < 3.11.4 3.11.4
CPython 3.10 3.10.0 → < 3.10.16 3.10.16
CPython 3.9 earliest → < 3.9.21 3.9.21
cpython 3.12 3.12.0a1 → < 3.12.0b1 3.12.0b1
cpython 3.11 earliest → < 3.11.4 3.11.4

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE