cbcvebase.
CVE-2021-28677
published 2021-06-02

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…

high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianpillow< pillow 8.1.2+dfsg-0.2 (bookworm)pillow 8.1.2+dfsg-0.2 (bookworm)
fedoraprojectfedora
paloaltopan-os
pythonpillow< 8.2.08.2.0
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.1.2+dfsg-0.28.1.2+dfsg-0.2
pythonpillow>= 0 < 8.2.08.2.0
pythonpillow>= 0 < 2.3.0-1ubuntu3.4+esm52.3.0-1ubuntu3.4+esm5
pythonpillow>= 0 < 3.1.2-0ubuntu1.6+esm33.1.2-0ubuntu1.6+esm3
pythonpillow>= 0 < 5.1.0-1ubuntu0.8+esm25.1.0-1ubuntu0.8+esm2

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv9.1CRITICAL