跳到正文
GitHub 安全公告库 (GHSA)·· 3 小时前AI 评分52

Pillow 的 SpiderImagePlugin.seek() 绕过解压炸弹检查,导致无界内存分配 DoS

Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS

AI 导读

GitHub 安全公告 GHSA-g842-9rc4-69pw 指出,Pillow 的 SpiderImagePlugin 中 seek() 绕过了解压炸弹检查:用 1x1 的 frame0 打开文件后调用 im.seek(1),尺寸被设为 (100,100) 却不触发 DecompressionBombWarning 或 DecompressionBombError。

来源:GitHub 安全公告库 (GHSA) · github.com