CVE-2021-28677

Publication date 10 May 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
pillow 24.10 oracular
Fixed 8.1.2+dfsg-0.1ubuntu1
24.04 LTS noble
Fixed 8.1.2+dfsg-0.1ubuntu1
23.10 mantic
Fixed 8.1.2+dfsg-0.1ubuntu1
23.04 lunar
Fixed 8.1.2+dfsg-0.1ubuntu1
22.10 kinetic
Fixed 8.1.2+dfsg-0.1ubuntu1
22.04 LTS jammy
Fixed 8.1.2+dfsg-0.1ubuntu1
21.10 impish
Fixed 8.1.2+dfsg-0.1ubuntu1
21.04 hirsute
Fixed 8.1.2-1ubuntu0.1
20.10 groovy
Fixed 7.2.0-1ubuntu0.3
20.04 LTS focal
Fixed 7.0.0-4ubuntu0.4
18.04 LTS bionic
Fixed 5.1.0-1ubuntu0.6
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty Ignored end of ESM support, was needs-triage
pillow-python2 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Ignored end of life
20.04 LTS focal
Needs evaluation
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
python-imaging 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pillow

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H