PYSEC-2021-139
At a glance
- Published
- Updated
- CVE
- CVE-2021-28675
- Aliases
- BIT-pillow-2021-28675, GHSA-g6rj-rv7j-xwp4
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · pillow | introduced 0, fixed 8.2.0 |
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/ WEB
- https://github.com/advisories/GHSA-g6rj-rv7j-xwp4 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |