Vulnerability · Published Mar 19, 2021 · Assigned by mitre
CVE-2021-25291
High 7.5
In plain English
A high-severity security flaw in the py3-pillow package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 27.4% 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.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25291 |
| Alpine:v3.21 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25291 |
| Alpine:v3.22 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25291 |
| Alpine:v3.23 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25291 |
| Alpine:v3.24 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25291 |
| Debian:12 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25291 |
| Debian:13 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25291 |
| Debian:14 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25291 |
| PyPI | pillow | 8.1.1 | PYSEC-2021-37 |
| PyPI | pillow | 8.2.0 | GHSA-mvg9-xffr-p774 |
Affected products (as reported)
References
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html x_refsource_MISC
- GLSA-202107-33 vendor-advisory, x_refsource_GENTOO