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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 62%
VendorProductVersion
pythonpillow
𝑥
< 8.2.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pillow
bullseye (security)
8.1.2+dfsg-0.3+deb11u2
fixed
bullseye
8.1.2+dfsg-0.3+deb11u2
fixed
bookworm
9.4.0-1.1+deb12u1
fixed
bookworm (security)
9.4.0-1.1+deb12u1
fixed
sid
10.4.0-1
fixed
trixie
10.4.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pillow
noble
Fixed 8.1.2+dfsg-0.1ubuntu1
released
mantic
Fixed 8.1.2+dfsg-0.1ubuntu1
released
lunar
Fixed 8.1.2+dfsg-0.1ubuntu1
released
kinetic
Fixed 8.1.2+dfsg-0.1ubuntu1
released
jammy
Fixed 8.1.2+dfsg-0.1ubuntu1
released
impish
Fixed 8.1.2+dfsg-0.1ubuntu1
released
hirsute
Fixed 8.1.2-1ubuntu0.1
released
groovy
Fixed 7.2.0-1ubuntu0.3
released
focal
Fixed 7.0.0-4ubuntu0.4
released
bionic
Fixed 5.1.0-1ubuntu0.6
released
xenial
needs-triage
trusty
needs-triage
pillow-python2
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
ignored
focal
needs-triage
bionic
dne
xenial
dne
trusty
dne
python-imaging
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne