Name | CVE-2021-28675 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-546-1, ELA-546-2 |
Debian Bugs | 989062 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pillow (PTS) | jessie, jessie (lts) | 2.6.1-2+deb8u10 | fixed |
| stretch (security) | 4.0.0-4+deb9u4 | vulnerable |
| stretch (lts), stretch | 4.0.0-4+deb9u6 | vulnerable |
| buster (security), buster, buster (lts) | 5.4.1-2+deb10u6 | vulnerable |
| bullseye (security), bullseye | 8.1.2+dfsg-0.3+deb11u2 | fixed |
| bookworm (security), bookworm | 9.4.0-1.1+deb12u1 | fixed |
| sid, trixie | 10.4.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pillow | source | experimental | 8.2.0-1 | | | |
pillow | source | jessie | 2.6.1-2+deb8u8 | | ELA-546-2 | |
pillow | source | (unstable) | 8.1.2+dfsg-0.2 | | | 989062 |
Notes
[buster] - pillow <ignored> (Minor issue)
[stretch] - pillow <ignored> (Minor issue, too intrusive to backport)
https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28675-fix-dos-in-psdimageplugin
https://github.com/python-pillow/Pillow/commit/22e9bee4ef225c0edbb9323f94c26cee0c623497