中危 PyPDF2 安全漏洞(CVE-2023-36464)
CVE编号
CVE-2023-36464利用情况
暂无补丁情况
官方补丁披露时间
2023-06-28漏洞描述
pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b"\r", b"\n")` in `pypdf/generic/_data_structures.py` to `while peek not in (b"\r", b"\n", b"")`.解决建议
"将组件 pypdf 升级至 3.9.0 及以上版本"
参考链接 |
|
---|---|
https://github.com/py-pdf/pypdf/pull/1828 | |
https://github.com/py-pdf/pypdf/pull/969 | |
https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vvm-4w3v-6mr8 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | pypdf2_project | pypdf2 | * | From (including) 2.2.0 | |||||
运行在以下环境 | |||||||||
应用 | pypdf_project | pypdf | * | Up to (excluding) 3.9.0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | pypdf2 | * | Up to (excluding) 1.26.0-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | pypdf2 | * | Up to (excluding) 1.26.0-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | pypdf | * | Up to (including) 3.4.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | pypdf | * | Up to (including) 3.4.1-1 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-835 | 不可达退出条件的循环(无限循环) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论