Vulnerability
CVE-2021-28677
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
20 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2023-2083
Amazon Linux 2 2017.12 - ALAS2-2023-2083: important priority package update for python-pillow
-
ALAS2023-2023-146
Amazon Linux 2023 - ALAS2023-2023-146: Important priority package update for python-pillow
-
ALPINE-CVE-2021-28677
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of…
- ALPINE-EDGE-CVE-2021-28677
-
ALSA-2021:4149
Moderate: python-pillow security update
-
DEBIAN-CVE-2021-28677
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of…
-
DLA-2716-1
pillow - security update
-
GHSA-q5hq-fp76-qmrc
Uncontrolled Resource Consumption in Pillow
-
PYSEC-2021-93
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of…
-
RHSA-2021:4149
Red Hat Security Advisory: python-pillow security update
-
RHVEX-CVE-2021-28677
python-pillow: Excessive CPU use in EPS image reader
-
RLSA-2021:4149
Moderate: python-pillow security update
-
SUSE-SU-2021:1938-1
Security update for python-Pillow
-
SUSE-SU-2021:1939-1
Security update for python-Pillow
-
SUSE-SU-2021:1940-1
Security update for python-Pillow
-
SUSE-SU-2024:1607-1
Security update for python-Pillow
-
SUSEVEX-CVE-2021-28677
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of…
-
UBUNTU-CVE-2021-28677
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of…
-
USN-4963-1
pillow vulnerabilities
-
USN-8135-1
pillow vulnerabilities
References
- https://github.com/python-pillow/Pillow/pull/5377
- https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-open
- https://security.gentoo.org/glsa/202107-33