CVE-2021-28677Python 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
- 2.5% probabilidad de explotación en 30 días · percentil 85
- Requiere autenticación
- No
- Publicada
- 2 jun 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
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.2.0 |
8.2.0 |
pip install "pillow>=8.2.0" |
| PyPI | pillow |
< 8.2.0 |
8.2.0 |
pip install "pillow>=8.2.0" |
Según OSV / GitHub Advisories (GHSA-q5hq-fp76-qmrc, PYSEC-2021-93). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | pillow | < 8.2.0 |
| fedoraproject | fedora | 33 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org
- pillow.readthedocs.io Third Party Advisory
- security.gentoo.org Third Party Advisory