Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2024-11168

Improper validation of IPv6 and IPvFuture addresses

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.9.21affected
  • 3.10.0 to < 3.10.16affected
  • 3.11.0 to < 3.11.4affected
  • 3.12.0a1 to < 3.12.0b1affected

References