CVE-2026-23949 (CNNVD-202601-3315)
中文标题:
jaraco.context 路径遍历漏洞
英文标题:
jaraco.context Has a Path Traversal Vulnerability
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| jaraco | jaraco.context | >= 5.2.0, < 6.1.0 | - | - |
cpe:2.3:a:jaraco:jaraco.context:>=_5.2.0,_<_6.1.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 路径遍历
- cnnvd_id: 未提取 -> CNNVD-202601-3315
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']