Red Hat VEX
RHVEX-CVE-2025-0938
python: cpython: URL parser allowed square brackets in domain names
Details
A flaw was found in Python. The Python standard library functions urllib.parse.urlsplit and urlparse accept 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 |
|---|---|---|
| Red Hat:enterprise_linux:6 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-idle | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python-PyMySQL | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-distro | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-docs | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-docutils | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-nose | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-nose-docs | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-pygments | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-pymongo | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-pymongo-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-sqlalchemy | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-sqlalchemy-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-virtualenv | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-virtualenv-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python-wheel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-PyMySQL | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-bson | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-distro | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-docs | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-docutils | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-nose | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-pygments | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-pymongo | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-pymongo-gridfs | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-scipy | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-sqlalchemy | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-virtualenv | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-wheel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-wheel-wheel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3.11 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-idle | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-rpm-macros | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.11-tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-idle | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-rpm-macros | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python3.12-tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python36 | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python36-debug | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python36-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python36-rpm-macros | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | scipy | All versions, no fix yet |