CVE-2021-25292
At a glance
- Source
- NVD
- EPSS
- EPSS 1.73 % Β· percentile 78 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-1333 β Inefficient Regular Expression Complexity
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-9hx2-hgq2-2g4f β Regular Expression Denial of Service (ReDoS) in Pillow
- PYSEC-2021-38 β 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 b
European references
- ENISA EUVD Β· EUVD-2021-0175
- GCVE Β· GCVE-0-2021-25292
Affected configurations (NVD CPE)
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*< 8.1.1
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |