CVE-2025-8869 (CNNVD-202509-3859)

MEDIUM
中文标题:
pip 安全漏洞
英文标题:
Fallback tar extraction in pip doesn't check symbolic links point to extraction directory
CVSS分数: 5.9
发布时间: 2025-09-24 14:56:56
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

pip是Python Packaging Authority开源的一个Python包安装程序。 pip存在安全漏洞,该漏洞源于未检查符号链接是否指向提取目录,可能导致路径遍历攻击。

英文描述:

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.

CWE类型:
(暂无数据)
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Python Packaging Authority pip - < 25.3 - cpe:2.3:a:python_packaging_authority:pip:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 patch
cve.org
访问
无标题 vendor-advisory
cve.org
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
CVSS评分详情
4.0 (cna)
MEDIUM
5.9
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
机密性
NONE
完整性
HIGH
可用性
NONE
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2025-09-24 14:56:56
修改时间:
2025-11-03 17:45:31
创建时间:
2025-11-11 15:40:53
更新时间:
2025-11-11 16:00:13
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-8869 2025-11-11 15:23:37 2025-11-11 07:40:53
NVD nvd_CVE-2025-8869 2025-11-11 15:01:03 2025-11-11 07:48:39
CNNVD cnnvd_CNNVD-202509-3859 2025-11-11 15:12:58 2025-11-11 08:00:13
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:13
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202509-3859; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202509-3859
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:39
references_count: 2 → 3; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • references_count: 2 -> 3
  • data_sources: ['cve'] -> ['cve', 'nvd']