CVE-2021-25292
Regular Expression Denial of Service (ReDoS) in Pillow
6.5
MEDIUM
CVSS 3.1
EPSS 0.18%
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.
How to fix CVE-2021-25292
To remediate CVE-2021-25292, upgrade the affected package to a fixed version below.
- Alpine/py3-pillow—upgrade to 8.1.2-r0 or later
- —upgrade to 8.1.1 or later
- —upgrade to 8.1.1-1 or later
- —upgrade to 8.1.1 or later
- —upgrade to 8.1.1 or later
Is CVE-2021-25292 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 8.1.2-r0
- from 0, < 8.1.1
- from 0, < 8.1.1-1
- >= 5.1.0, < 8.1.1
- from 0, < 8.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |