Amenazas en vivo

Todas las CVE / Python

CVE-2021-27921Python Pillow

Alta 7.5 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Pillow.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
pythonpillow< 8.1.1
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.