Vulnerability · Published Jun 2, 2021 · Assigned by mitre
CVE-2021-28676
High 7.5
In plain English
A high-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 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.5%top 15.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.
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.2.0-r0 | ALPINE-CVE-2021-28676 |
| Alpine:v3.21 | py3-pillow | 8.2.0-r0 | ALPINE-CVE-2021-28676 |
| Alpine:v3.22 | py3-pillow | 8.2.0-r0 | ALPINE-CVE-2021-28676 |
| Alpine:v3.23 | py3-pillow | 8.2.0-r0 | ALPINE-CVE-2021-28676 |
| Alpine:v3.24 | py3-pillow | 8.2.0-r0 | ALPINE-CVE-2021-28676 |
| Debian:12 | pillow | 8.1.2+dfsg-0.2 | DEBIAN-CVE-2021-28676 |
| Debian:13 | pillow | 8.1.2+dfsg-0.2 | DEBIAN-CVE-2021-28676 |
| Debian:14 | pillow | 8.1.2+dfsg-0.2 | DEBIAN-CVE-2021-28676 |
| PyPI | pillow | 8.2.0 | GHSA-7r7m-5h27-29hp |
| PyPI | pillow | 8.2.0 | PYSEC-2021-92 |
| 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/8.2.0.html#cve-2021-28676-fix-fli-dos
- https://github.com/python-pillow/Pillow/pull/5377
- FEDORA-2021-77756994ba vendor-advisory
- GLSA-202107-33 vendor-advisory
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security update mailing-list
- https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856