CVE-2021-27921Python Pillow
Alta 7.5 Sin autenticación
Seguir: esta CVE · Python · Python Pillow Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 3 mar 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pillow.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | pillow |
< 8.1.2 |
8.1.2 |
pip install "pillow>=8.1.2" |
| PyPI | pillow |
< 8.1.1 |
8.1.1 |
pip install "pillow>=8.1.1" |
Según OSV / GitHub Advisories (GHSA-f4w8-cv6p-x6r5, PYSEC-2021-40). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | pillow | < 8.1.1 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- pillow.readthedocs.io
- security.gentoo.org Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- pillow.readthedocs.io Release Notes Vendor Advisory