First published: Wed Mar 03 2021(Updated: )
Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/Pillow | <8.1.1 | 8.1.1 |
redhat/python-pillow | <8.1.2 | 8.1.2 |
redhat/python-pillow | <0:5.1.1-16.el8 | 0:5.1.1-16.el8 |
Python Pillow | <8.1.1 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 |
Disable the invoice generation feature to mitigate this vulnerability in Red Hat Quay.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-27921 is a vulnerability in python-pillow that allows attackers to cause a denial of service by consuming excessive memory.
The severity of CVE-2021-27921 is rated as high (7.5).
CVE-2021-27921 allows attackers to cause a denial of service in Pillow by consuming excessive memory.
To fix CVE-2021-27921, update python-pillow to version 8.1.1 or higher.
More information about CVE-2021-27921 can be found on the CVE website (https://www.cve.org/CVERecord?id=CVE-2021-27921) and the NVD website (https://nvd.nist.gov/vuln/detail/CVE-2021-27921).