GitHub Advisoryadvisory · PyPI
GHSA-g6rj-rv7j-xwp4 Pillow denial of service
HIGH
Official page ↗
- Aliases
- CVE-2021-28675
- Ecosystem
- PyPI
- Packages
- pillow
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-233, CWE-252
- Reviewed
- 2021-06-03
Affected packages
• PyPI pillow: < 8.2.0 → fixed in 8.2.0
Description
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`.
Related
Alias · CVE (1)
- CVE-2021-28675 An issue was discovered in Pillow before 8.2.0. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28675 advisory
- https://github.com/python-pillow/Pillow/pull/5377/commits/22e9bee4ef225c0edbb9323f94c26cee0c623497 web
- https://github.com/advisories/GHSA-g6rj-rv7j-xwp4 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-139.yaml web
- https://github.com/python-pillow/Pillow package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL web
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin web
- https://security.gentoo.org/glsa/202107-33 web