Improper resource allocation In pillow
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
pypi | 8.2.0 | ||
debian 14 | 8.1.2+dfsg-0.2 | ||
alpine v3.14 | 8.2.0-r0 | ||
debian 12 | 8.1.2+dfsg-0.2 | ||
debian 13 | 8.1.2+dfsg-0.2 | ||
alpine v3.15 | 8.2.0-r0 | ||
debian 11 | 8.1.2+dfsg-0.2 | ||
rpm rhel7 | - | - | |
rpm rhel8 | 0:5.1.1-16.el8 |
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
References
1. 2. 3. 4. 5.