Vulnerability · Published Mar 19, 2021 · Assigned by mitre
CVE-2021-25292
Medium 6.5
In plain English
A medium-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 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.7%top 22.3% 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. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.
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.1.2-r0 | ALPINE-CVE-2021-25292 |
| Alpine:v3.21 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25292 |
| Alpine:v3.22 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25292 |
| Alpine:v3.23 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25292 |
| Alpine:v3.24 | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25292 |
| Debian:12 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25292 |
| Debian:13 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25292 |
| Debian:14 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25292 |
| PyPI | pillow | 8.1.1 | GHSA-9hx2-hgq2-2g4f |
| PyPI | pillow | 8.1.1 | PYSEC-2021-38 |
| 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.1.1.html x_refsource_MISC
- GLSA-202107-33 vendor-advisory, x_refsource_GENTOO