Alpine Security Database
ALPINE-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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.18 | python3 | All versions before 3.11.12-r0 (fixed in 3.11.12-r0) |
| Alpine:v3.19 | python3 | All versions before 3.11.12-r0 (fixed in 3.11.12-r0) |
| Alpine:v3.20 | python3 | All versions before 3.12.9-r0 (fixed in 3.12.9-r0) |
| Alpine:v3.21 | python3 | All versions before 3.12.9-r0 (fixed in 3.12.9-r0) |
| Alpine:v3.22 | python3 | All versions before 3.12.9-r0 (fixed in 3.12.9-r0) |
| Alpine:v3.23 | python3 | All versions before 3.12.9-r0 (fixed in 3.12.9-r0) |
| Alpine:v3.24 | python3 | All versions before 3.12.9-r0 (fixed in 3.12.9-r0) |