logo

CVE-2021-28677 pillow

Package

Manager: pip
Name: pillow
Vulnerable Version: >=0 <8.2.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00219 pctl0.44469

Details

Uncontrolled Resource Consumption in Pillow 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.

Metadata

Created: 2021-06-08T18:49:36Z
Modified: 2024-10-14T21:38:36Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-q5hq-fp76-qmrc/GHSA-q5hq-fp76-qmrc.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-q5hq-fp76-qmrc
Finding: F067
Auto approve: 1