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.
History

Tue, 04 Feb 2025 20:45:00 +0000


Sat, 01 Feb 2025 02:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N'}

threat_severity

Moderate


Fri, 31 Jan 2025 20:15:00 +0000


Fri, 31 Jan 2025 19:45:00 +0000


Fri, 31 Jan 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jan 2025 18:00:00 +0000

Type Values Removed Values Added
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.
Title URL parser allowed square brackets in domain names
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2025-02-04T20:39:27.921Z

Reserved: 2025-01-31T17:45:10.107Z

Link: CVE-2025-0938

cve-icon Vulnrichment

Updated: 2025-01-31T18:50:24.989Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-01-31T18:15:38.053

Modified: 2025-02-04T21:15:27.543

Link: CVE-2025-0938

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-01-31T17:51:35Z

Links: CVE-2025-0938 - Bugzilla