CVE-2021-27922
High
Description
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Python Pillow
PublishedMar 3, 2021
First seenMar 3, 2021
How to fix
Update
- python pillow8.1.1 or later
- pillow8.1.2, 8.1.1 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
- lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
- lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
- security.gentoo.org/glsa/202107-33
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python pillow | v < 8.1.1 | 8.1.1 |
| fedoraproject fedora | 32, 33, 34 | — |
| pillowPyPI | v < 8.1.2, v < 8.1.1 | 8.1.2, 8.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.