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