pillow
Affected
- introduced
0, fixed8.2.0(ecosystem)
Fixed versions
8.2.0
Fix
- Fixed version
8.2.0pip install --upgrade pillow==8.2.0
Advisory
Also known as: BIT-pillow-2021-28677, CVE-2021-28677, PYSEC-2021-93
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.
High Basis: The source's own band: HIGH
0, fixed 8.2.0 (ecosystem)8.2.0
8.2.0pip install --upgrade pillow==8.2.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0