ADVISORIES

Azure Linux Advisory

AZL-56231

CVE-2025-0938 affecting package python3 for versions less than 3.12.9-1

Details

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.

Affected packages

EcosystemPackageAffected versions
Azure Linux:3python3
All versions before 3.12.9-1 (fixed in 3.12.9-1)

References