读取 pypdf 中格式错误的对象时出现无限循环 (CVE-2023-36807)

admin 2023-11-29 22:53:03 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 读取 pypdf 中格式错误的对象时出现无限循环 (CVE-2023-36807)

CVE编号

CVE-2023-36807

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-07-01
漏洞描述
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted metadata from such a malformed PDF. Versions prior to 2.10.5 throw an error, but do not hang forever. This issue was fixed with https://github.com/py-pdf/pypdf/pull/1331 which has been included in release 2.10.6. Users are advised to upgrade. Users unable to upgrade should modify `PyPDF2/generic/_data_structures.py::read_object` to an an error throwing case. See GHSA-hm9v-vj3r-r55m for details.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/py-pdf/pypdf/issues/1329
https://github.com/py-pdf/pypdf/pull/1331
https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 pypdf_project pypdf 2.10.5 -
运行在以下环境
系统 debian_10 pypdf2 * Up to (excluding) 1.26.0-2
运行在以下环境
系统 debian_11 pypdf2 * Up to (excluding) 1.26.0-4
运行在以下环境
系统 debian_12 pypdf2 * Up to (excluding) 2.10.7-1
运行在以下环境
系统 debian_sid pypdf2 * Up to (excluding) 2.10.7-1
阿里云评分 6.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-835 不可达退出条件的循环(无限循环)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0