中危 Pillow 安全漏洞

CVE编号

CVE-2022-22815

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-01-11
漏洞描述
Pillow是一款基于Python的图像处理库。

Pillow 9.0.0 之前存在安全漏洞,该漏洞源于 path.c 中的 path_getbbox 不正确地初始化 ImagePath.Path。
解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:

https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 python pillow * Up to
(excluding)
9.0.0
运行在以下环境
系统 alma_linux_8 python3-pillow * Up to
(excluding)
5.1.1-18.el8_5
运行在以下环境
系统 alpine_3.15 py3-pillow * Up to
(excluding)
8.4.0-r2
运行在以下环境
系统 alpine_3.16 py3-pillow * Up to
(excluding)
9.0.0-r0
运行在以下环境
系统 alpine_3.17 py3-pillow * Up to
(excluding)
9.0.0-r0
运行在以下环境
系统 alpine_3.18 py3-pillow * Up to
(excluding)
9.0.0-r0
运行在以下环境
系统 alpine_3.19 py3-pillow * Up to
(excluding)
9.0.0-r0
运行在以下环境
系统 amazon_2 python-pillow * Up to
(excluding)
2.0.0-23.gitd1c6db8.amzn2.0.1
运行在以下环境
系统 debian_10 pillow * Up to
(excluding)
5.4.1-2+deb10u3
运行在以下环境
系统 debian_11 pillow * Up to
(excluding)
8.1.2+dfsg-0.3+deb11u1
运行在以下环境
系统 debian_12 pillow * Up to
(excluding)
9.0.0-1
运行在以下环境
系统 debian_9 pillow * Up to
(excluding)
4.0.0-4+deb9u4
运行在以下环境
系统 fedora_34 mingw-python-pillow * Up to
(excluding)
8.1.2-5.fc34
运行在以下环境
系统 fedora_35 mingw-python-pillow * Up to
(excluding)
8.3.2-2.fc35
运行在以下环境
系统 kylinos_aarch64_V10 python-pillow * Up to
(excluding)
2.0.0-23.gitd1c6db8.el7_9
运行在以下环境
系统 kylinos_loongarch64_V10SP1 python2-pillow * Up to
(excluding)
5.3.0-17.p01.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 python-pillow * Up to
(excluding)
2.0.0-23.gitd1c6db8.el7_9
运行在以下环境
系统 kylinos_x86_64_V10SP1 python2-pillow * Up to
(excluding)
5.3.0-17.p01.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 python3-pillow * Up to
(excluding)
8.1.1-8.ky10
运行在以下环境
系统 rocky_linux_8 python-pillow * Up to
(excluding)
5.1.1-18.el8_5
运行在以下环境
系统 ubuntu_18.04 pillow * Up to
(excluding)
5.1.0-1ubuntu0.7
运行在以下环境
系统 ubuntu_20.04 pillow * Up to
(excluding)
7.0.0-4ubuntu0.5
运行在以下环境
系统 ubuntu_21.04 pillow * Up to
(excluding)
8.1.2-1ubuntu0.2
运行在以下环境
系统 ubuntu_21.10 pillow * Up to
(excluding)
8.1.2+dfsg-0.3ubuntu0.1
运行在以下环境
系统 ubuntu_22.04 pillow * Up to
(excluding)
9.0.0-1
运行在以下环境
系统 ubuntu_22.10 pillow * Up to
(excluding)
9.0.0-1
阿里云评分
5.5
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-665 初始化不恰当
阿里云安全产品覆盖情况