The Python standard library functions `urllib.parse...
Moderate severity
Unreviewed
Published
Jan 31, 2025
to the GitHub Advisory Database
•
Updated Feb 4, 2025
Description
Published by the National Vulnerability Database
Jan 31, 2025
Published to the GitHub Advisory Database
Jan 31, 2025
Last updated
Feb 4, 2025
The Python standard library functions
urllib.parse.urlsplit
andurlparse
accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.References