CVE-2025-0938

Updated on 31 Jan 2025

Severity

Awaiting Analysis

Details

CVSS score
8.6

Overview

About vulnerability

The Python standard library functions urllib.parse.urlsplit and urlparse 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.

Details

Affected packages:
python3.6 @ 3.6.9-1 (+9 more)
The Python standard library functions urllib.parse.urlsplit and urlparse 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.

Fixes