Skip to main content
← All vulnerabilities
CVE-2024-11168

Improper validation of IPv6 and IPvFuture addresses

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.21, 3.10.16, 3.11.4, 3.12.0b1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.9.21; From 3.10.0 · fixed in 3.10.16; From 3.11.0 · fixed in 3.11.4; From 3.12.0a1 · fixed in 3.12.0b1

References 7

GitHub · python/cpython

mail.python.org