Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2025-0938

Public on 2025-01-31
Modified on 2025-02-04
Description

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.

Severity
Medium
See what this means
CVSS v3 Base Score
5.3
See breakdown
Continue reading

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core python 2025-03-13 01:30 ALAS2-2025-2797
Amazon Linux 2 - Core python3 2025-03-26 19:24 ALAS2-2025-2815
Amazon Linux 2023 python3.11 2025-02-26 23:14 ALAS2023-2025-871
Amazon Linux 2023 python3.12 2025-03-13 04:48 ALAS2023-2025-899
Amazon Linux 2023 python3.9 2025-03-13 04:48 ALAS2023-2025-898

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N