CVE-2021-28675
MEDIUM5.5EPSS 0.14%Pillow denial of service
發布日:2021/6/8修改日:2026/4/28
描述
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
受影響套件(5)
- Alpine/py3-pillowfrom 0, < 8.2.0-r0
- Bitnami/pillowfrom 0, < 8.2.0
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.2
- PyPI/pillowfrom 0, < 8.2.0
- PyPI/pillowfrom 0, < 8.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
參考連結(12)
- ADVISORYhttps://github.com/advisories/GHSA-g6rj-rv7j-xwp4
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-28675
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-28675
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-28675
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-139.yaml
- WEBhttps://github.com/python-pillow/Pillow/pull/5377/commits/22e9bee4ef225c0edbb9323f94c26cee0c623497
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin
- WEBhttps://security.gentoo.org/glsa/202107-33