ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-0938

python: cpython: URL parser allowed square brackets in domain names

Moderate No fix available CVE-2025-0938

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6python
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6python-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6python-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6python-test
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6python-tools
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6tkinter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-debug
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-test
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-tools
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-debug
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-idle
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-test
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-tkinter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7tkinter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python-PyMySQL
All versions, no fix yet
Red Hat:enterprise_linux:8python-distro
All versions, no fix yet
Red Hat:enterprise_linux:8python-docs
All versions, no fix yet
Red Hat:enterprise_linux:8python-docutils
All versions, no fix yet
Red Hat:enterprise_linux:8python-nose
All versions, no fix yet
Red Hat:enterprise_linux:8python-nose-docs
All versions, no fix yet
Red Hat:enterprise_linux:8python-pygments
All versions, no fix yet
Red Hat:enterprise_linux:8python-pymongo
All versions, no fix yet
Red Hat:enterprise_linux:8python-pymongo-doc
All versions, no fix yet
Red Hat:enterprise_linux:8python-sqlalchemy
All versions, no fix yet
Red Hat:enterprise_linux:8python-sqlalchemy-doc
All versions, no fix yet
Red Hat:enterprise_linux:8python-virtualenv
All versions, no fix yet
Red Hat:enterprise_linux:8python-virtualenv-doc
All versions, no fix yet
Red Hat:enterprise_linux:8python-wheel
All versions, no fix yet
Red Hat:enterprise_linux:8python3-PyMySQL
All versions, no fix yet
Red Hat:enterprise_linux:8python3-bson
All versions, no fix yet
Red Hat:enterprise_linux:8python3-distro
All versions, no fix yet
Red Hat:enterprise_linux:8python3-docs
All versions, no fix yet
Red Hat:enterprise_linux:8python3-docutils
All versions, no fix yet
Red Hat:enterprise_linux:8python3-nose
All versions, no fix yet
Red Hat:enterprise_linux:8python3-pygments
All versions, no fix yet
Red Hat:enterprise_linux:8python3-pymongo
All versions, no fix yet
Red Hat:enterprise_linux:8python3-pymongo-gridfs
All versions, no fix yet
Red Hat:enterprise_linux:8python3-scipy
All versions, no fix yet
Red Hat:enterprise_linux:8python3-sqlalchemy
All versions, no fix yet
Red Hat:enterprise_linux:8python3-virtualenv
All versions, no fix yet
Red Hat:enterprise_linux:8python3-wheel
All versions, no fix yet
Red Hat:enterprise_linux:8python3-wheel-wheel
All versions, no fix yet
Red Hat:enterprise_linux:8python3.11
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-debug
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-idle
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-rpm-macros
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-test
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.11-tkinter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-debug
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-idle
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-rpm-macros
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-test
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3.12-tkinter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python36
All versions, no fix yet
Red Hat:enterprise_linux:8python36-debug
All versions, no fix yet
Red Hat:enterprise_linux:8python36-devel
All versions, no fix yet
Red Hat:enterprise_linux:8python36-rpm-macros
All versions, no fix yet
Red Hat:enterprise_linux:8scipy
All versions, no fix yet

References