OESA-2025-2794

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-2794
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-2794.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2025-2794
Upstream
  • CVE-2025-8869
Published
2025-12-05T13:12:39Z
Modified
2025-12-05T13:33:13.891417Z
Summary
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: 20.2.2 Release: 4 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: https://files.pythonhosted.org/packages/source/p/pip/pip-.tar.gz BuildArch: noarch Patch1: allow-stripping-given-prefix-from-wheel-RECORD-files. Patch2: emit-a-warning-when-running-with-root-privileges.patch Patch3: remove-existing-dist-only-if-path-conflicts.patch Patch6000: dummy-certifi.patch Patch6001: backport-CVE-2021-3572.patch

Security Fix(es):

When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706. Note that upgrading pip to a "fixed" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python version that implements PEP 706.

Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706 and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706 then pip doesn't use the "vulnerable" fallback code.

Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12), applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.(CVE-2025-8869)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / python-pip

Package

Name
python-pip
Purl
pkg:rpm/openEuler/python-pip&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.3.1-12.oe2203sp3

Ecosystem specific

{
    "src": [
        "python-pip-21.3.1-12.oe2203sp3.src.rpm"
    ],
    "noarch": [
        "python-pip-help-21.3.1-12.oe2203sp3.noarch.rpm",
        "python-pip-wheel-21.3.1-12.oe2203sp3.noarch.rpm",
        "python3-pip-21.3.1-12.oe2203sp3.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2025-2794.json"