CVE-2024-11168

Improper validation of IPv6 and IPvFuture addresses

State
Published
Severity
6.3 Medium
Published
Nov 12, 2024
Updated
Nov 3, 2025
Reserved
Nov 12, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:NPSF
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NCISA-ADP

Weaknesses

  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.9.21Affected
  • 3.10.0 to before 3.10.16Affected
  • 3.11.0 to before 3.11.4Affected
  • 3.12.0a1 to before 3.12.0b1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.