ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2025-0938

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
Debian:12pypy3
All versions, no fix listed
Debian:13pypy3
All versions before 7.3.18+dfsg-2 (fixed in 7.3.18+dfsg-2)
Debian:14pypy3
All versions before 7.3.18+dfsg-2 (fixed in 7.3.18+dfsg-2)
Debian:12python3.11
All versions before 3.11.2-6+deb12u6 (fixed in 3.11.2-6+deb12u6)
Debian:13python3.13
All versions before 3.13.2-1 (fixed in 3.13.2-1)

References