What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Python Software Foundation Cpython 3.11.4, 3.12.0b1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-11168 or the next vulnerability affects your stack