CVE-2021-34552
9.8critical
Buffer Overflow in Pillow
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.68% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-7534-mm45-c74vBIT-PILLOW-2021-34552PYSEC-2021-331
Description
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pillow (PyPI) | before 8.3.0 | GitHub Advisory Database, PyPA Advisory Database |
| python pillow | from 1.0 up to 1.1.7, from 1.2 up to 8.2.0 | NVD |
| debian debian_linux | 9.0 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| pillow (Bitnami) | from 1.0.0 before 1.1.8, from 1.2.0 before 8.2.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
NVD (es)
Pillow versiones hasta 8.2.0 y PIL (también se conoce como Python Imaging Library) versiones hasta 1.1.7, permiten a un atacante pasar parámetros controlados directamente a una función de conversión para desencadenar un desbordamiento de búfer en el archivo Convert.c
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34552 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7534-mm45-c74v changed 2024-10-09 | CC-BY-4.0 |
| NVD | CVE-2021-34552 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-331 changed 2023-12-06 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PILLOW-2021-34552 changed 2026-09-08 | Apache-2.0 |