-
Notifications
You must be signed in to change notification settings - Fork 18
Description
CVE-2025-8869 - Medium Severity Vulnerability
Vulnerable Library - pip-25.0.1-py3-none-any.whl
The PyPA recommended tool for installing Python packages.
Library home page: https://files.pythonhosted.org/packages/c9/bc/b7db44f5f39f9d0494071bddae6880eb645970366d0a200022a1a93d57f5/pip-25.0.1-py3-none-any.whl
Path to dependency file: /requirements/requirements.txt
Path to vulnerable library: /tmp/ws-ua_20251201181251_TWSCBH/python_WWKZDA/202512011813071/env/lib/python3.9/site-packages/pip-25.0.1.dist-info
Dependency Hierarchy:
- ❌ pip-25.0.1-py3-none-any.whl (Vulnerable Library)
Found in HEAD commit: 10d61b2746d4a6d810ae62627bd11db903909b67
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2025-09-24
URL: CVE-2025-8869
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-4xh5-x5gv-qwph
Release Date: 2025-09-24
Fix Resolution: 25.2
Step up your Open Source Security Game with Mend here