ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-28677

python-pillow: Excessive CPU use in EPS image reader

Moderate No fix available CVE-2021-28677

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7python-pillow
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-pillow-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-pillow-doc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-pillow-qt
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-pillow-sane
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-pillow-tk
All versions, no fix (out of support scope)

References