Bug 1958257 (CVE-2021-28677)
Summary: | CVE-2021-28677 python-pillow: Excessive CPU use in EPS image reader | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | bdettelb, cheimes, cstratak, kaycoth, manisandro, miminar, orion, paul, python-maint, tomckay, torsava |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python-pillow-8.2.0 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in python-pillow. The readline used in EPS has to deal with any combination of \r and \n as line endings. It accidentally used a quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a denial-of-service of Pillow in the open phase, before an image was accepted for opening.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 18:52:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1958258, 1958259, 1958260, 1958261, 1959683, 1962540, 1962542 | ||
Bug Blocks: | 1958269 |
Description
Guilherme de Almeida Suckevicz
2021-05-07 14:10:13 UTC
Created mingw-python-pillow tracking bugs for this issue: Affects: fedora-all [bug 1958261] Created python-pillow tracking bugs for this issue: Affects: fedora-all [bug 1958259] Created python2-pillow tracking bugs for this issue: Affects: fedora-all [bug 1958258] Created python3-pillow tracking bugs for this issue: Affects: epel-7 [bug 1958260] Mitigation: To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled, as it is by default. Upstream patch: https://github.com/python-pillow/Pillow/commit/5a5e6db0abf4e7a638fb1b3408c4e495a096cb92 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:4149 https://access.redhat.com/errata/RHSA-2021:4149 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-28677 |