中危 Pillow 缓冲区错误漏洞(CVE-2021-34552)

CVE编号

CVE-2021-34552

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-07-14
漏洞描述
Pillow是一款基于Python的图像处理库。

Pillow 中存在缓冲区错误漏洞,该漏洞源于产品的convert .c未能验证参数的安全性,攻击者可通过该漏洞引发缓冲区溢出。
解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:

https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 python pillow * From
(including)
1.0
Up to
(including)
1.1.7
运行在以下环境
应用 python pillow * From
(including)
1.2
Up to
(including)
8.2.0
运行在以下环境
系统 alibaba_cloud_linux_3 python-pillow * Up to
(excluding)
5.1.1-18.al8
运行在以下环境
系统 alma_linux_8 python3-pillow * Up to
(excluding)
5.1.1-16.el8
运行在以下环境
系统 alpine_3.15 py3-pillow * Up to
(excluding)
8.3.0-r0
运行在以下环境
系统 alpine_3.16 py3-pillow * Up to
(excluding)
8.3.0-r0
运行在以下环境
系统 alpine_3.17 py3-pillow * Up to
(excluding)
8.3.0-r0
运行在以下环境
系统 alpine_3.18 py3-pillow * Up to
(excluding)
8.3.0-r0
运行在以下环境
系统 alpine_3.19 py3-pillow * Up to
(excluding)
8.3.0-r0
运行在以下环境
系统 amazon_2 python-pillow * Up to
(excluding)
2.0.0-23.gitd1c6db8.amzn2.0.4
运行在以下环境
系统 amazon_2023 python-pillow * Up to
(excluding)
9.4.0-2.amzn2023.0.1
运行在以下环境
系统 anolis_os_8 python-pillow * Up to
(excluding)
5.1.1-18
运行在以下环境
系统 debian_10 pillow * Up to
(excluding)
5.4.1-2+deb10u3
运行在以下环境
系统 debian_11 pillow * Up to
(excluding)
8.1.2+dfsg-0.3
运行在以下环境
系统 debian_12 pillow * Up to
(excluding)
8.1.2+dfsg-0.3
运行在以下环境
系统 debian_9 pillow * Up to
(excluding)
4.0.0-4+deb9u3
运行在以下环境
系统 fedora_33 mingw-python-pillow * Up to
(excluding)
7.2.0-7.fc33
运行在以下环境
系统 fedora_34 mingw-python-pillow * Up to
(excluding)
8.1.2-3.fc34
运行在以下环境
系统 fedora_EPEL_7 python3-pillow * Up to
(excluding)
6.2.2-3.el7
运行在以下环境
系统 kylinos_aarch64_V10SP1 python2-pillow * Up to
(excluding)
5.3.0-17.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 python3-pillow * Up to
(excluding)
8.1.1-7.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 python2-pillow * Up to
(excluding)
5.3.0-17.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 python3-pillow * Up to
(excluding)
8.1.1-7.ky10
运行在以下环境
系统 opensuse_Leap_15.2 python3-Pillow * Up to
(excluding)
8.3.1-lp152.5.3.1
运行在以下环境
系统 redhat_8 python3-pillow * Up to
(excluding)
5.1.1-16.el8
运行在以下环境
系统 rocky_linux_8 python-pillow * Up to
(excluding)
5.1.1-16.el8
运行在以下环境
系统 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
阿里云评分
5.2
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-120 未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出)
阿里云安全产品覆盖情况