CVE-2026-23949 (CNNVD-202601-3315)

HIGH
中文标题:
jaraco.context 路径遍历漏洞
英文标题:
jaraco.context Has a Path Traversal Vulnerability
CVSS分数: 8.6
发布时间: 2026-01-20 00:36:23
漏洞类型: 路径遍历
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

jaraco.context是Jason R. Coombs个人开发者的一个Python库。 jaraco.context 5.2.0版本至6.1.0之前版本存在路径遍历漏洞,该漏洞源于tarball函数存在Zip Slip路径遍历,可能导致提取恶意tar存档时文件被提取到预期目录之外。

英文描述:

jaraco.context, an open-source software package that provides some useful decorators and context managers, has a Zip Slip path traversal vulnerability in the `jaraco.context.tarball()` function starting in version 5.2.0 and prior to version 6.1.0. The vulnerability may allow attackers to extract files outside the intended extraction directory when malicious tar archives are processed. The strip_first_component filter splits the path on the first `/` and extracts the second component, while allowing `../` sequences. Paths like `dummy_dir/../../etc/passwd` become `../../etc/passwd`. Note that this suffers from a nested tarball attack as well with multi-level tar files such as `dummy_dir/inner.tar.gz`, where the inner.tar.gz includes a traversal `dummy_dir/../../config/.env` that also gets translated to `../../config/.env`. Version 6.1.0 contains a patch for the issue.

CWE类型:
CWE-22
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
jaraco jaraco.context >= 5.2.0, < 6.1.0 - - cpe:2.3:a:jaraco:jaraco.context:>=_5.2.0,_<_6.1.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/jaraco/jaraco.context/security/advisories/GHSA-58pv-8j8x-9vj2 x_refsource_CONFIRM
cve.org
访问
https://github.com/jaraco/jaraco.context/commit/7b26a42b525735e4085d2e994e13802ea339d5f9 x_refsource_MISC
cve.org
访问
https://github.com/jaraco/jaraco.context/blob/main/jaraco/context/__init__.py#L74-L91 x_refsource_MISC
cve.org
访问
https://github.com/pypa/setuptools/blob/main/setuptools/_vendor/jaraco/context.py#L55-L76 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
8.6
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
机密性
HIGH
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-20 00:36:23
修改时间:
2026-01-20 00:36:23
创建时间:
2026-01-20 03:10:36
更新时间:
2026-01-27 06:00:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-23949 2026-01-20 02:19:58 2026-01-19 19:10:36
NVD nvd_CVE-2026-23949 2026-01-21 02:00:05 2026-01-20 22:00:20
CNNVD cnnvd_CNNVD-202601-3315 2026-01-26 02:10:03 2026-01-25 18:11:55
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-26 02:11:55
vulnerability_type: 未提取 → 路径遍历; cnnvd_id: 未提取 → CNNVD-202601-3315; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 路径遍历
  • cnnvd_id: 未提取 -> CNNVD-202601-3315
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-21 06:00:20
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']