Vulnerability · Published Jul 13, 2021 · Assigned by mitre
CVE-2021-34552
Critical 9.8
In plain English
A critical-severity security flaw in the python3-pillow package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.2%top 11.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | 5.1.1-16.el8 | ALSA-2021:4149 |
| Alpine:v3.20 | py3-pillow | 8.3.0-r0 | ALPINE-CVE-2021-34552 |
| Alpine:v3.21 | py3-pillow | 8.3.0-r0 | ALPINE-CVE-2021-34552 |
| Alpine:v3.22 | py3-pillow | 8.3.0-r0 | ALPINE-CVE-2021-34552 |
| Alpine:v3.23 | py3-pillow | 8.3.0-r0 | ALPINE-CVE-2021-34552 |
| Alpine:v3.24 | py3-pillow | 8.3.0-r0 | ALPINE-CVE-2021-34552 |
| Debian:12 | pillow | 8.1.2+dfsg-0.3 | DEBIAN-CVE-2021-34552 |
| Debian:13 | pillow | 8.1.2+dfsg-0.3 | DEBIAN-CVE-2021-34552 |
| Debian:14 | pillow | 8.1.2+dfsg-0.3 | DEBIAN-CVE-2021-34552 |
| PyPI | pillow | 8.3.0 | GHSA-7534-mm45-c74v |
| PyPI | pillow | 8.3.0 | PYSEC-2021-331 |
| Rocky Linux:8 | python-pillow | 0:5.1.1-16.el8 | RLSA-2021:4149 |
Affected products (as reported)
References
- https://pillow.readthedocs.io/en/stable/releasenotes/index.html
- https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security update mailing-list
- FEDORA-2021-bf01a738f3 vendor-advisory
- FEDORA-2021-3ec845dc0c vendor-advisory
- GLSA-202211-10 vendor-advisory