openEuler Security Advisory
OESA-2025-2317
python-pip security update
Details
pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. %global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-/bash_completion.d}) Name: python-pip Version: 23.3.1 Release: 3 Summary: A tool for installing and managing Python packages License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD) URL: http://www.pip-installer.org Source0: Source1: pip.loongarch.conf BuildArch: noarch Patch1: remove-existing-dist-only-if-path-conflicts. Patch6000: dummy-certifi.patch Patch6001: backport-CVE-2023-45803-Made-body-stripped-from-HTTP-requests.patch Patch6002: backport-CVE-2024-37891-Strip-Proxy-Authorization-header-on-redirects.patch
Security Fix(es):
urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.(CVE-2025-50181)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP4 | python-pip | All versions before 21.3.1-10.oe2203sp4 (fixed in 21.3.1-10.oe2203sp4) |
| openEuler:24.03-LTS | python-pip | All versions before 23.3.1-5.oe2403sp2 (fixed in 23.3.1-5.oe2403sp2) |
| openEuler:24.03-LTS-SP1 | python-pip | All versions before 23.3.1-5.oe2403sp1 (fixed in 23.3.1-5.oe2403sp1) |
| openEuler:24.03-LTS-SP2 | python-pip | All versions before 23.3.1-5.oe2403sp2 (fixed in 23.3.1-5.oe2403sp2) |
| openEuler:20.03-LTS-SP4 | python-pip | All versions before 20.2.2-11.oe2003sp4 (fixed in 20.2.2-11.oe2003sp4) |
| openEuler:22.03-LTS-SP3 | python-pip | All versions before 21.3.1-10.oe2203sp3 (fixed in 21.3.1-10.oe2203sp3) |