CVE-2025-54121encode starlette
Media 5.3 Sin autenticación
Seguir: esta CVE · encode · encode starlette Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 21 jul 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Qué pasa
Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building async web services in Python. In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool size) starlette will block the main thread to roll the file over to disk. This blocks the event thread which means the application can't accept new connections. The UploadFile code has a minor bug where instead of just checking for self._in_memory, the logic should also check if the additional bytes will cause a rollover. The vulnerability is fixed in version 0.47.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para starlette.
- 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 | starlette |
< 0.47.2 |
0.47.2 |
pip install "starlette>=0.47.2" |
| PyPI | starlette |
< 0.47.2 |
0.47.2 |
pip install "starlette>=0.47.2" |
Según OSV / GitHub Advisories (GHSA-2c2j-9gv5-cj73, PYSEC-2026-1941). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- encode · starlette
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for python-starlette · SUSE · SUSE-SU-2026:22151-1 · 17 jun 2026 Alta
- Security update for python-starlette · SUSE · openSUSE-SU-2026:20975-1 · 17 jun 2026 Alta
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.