Amenazas en vivo

Todas las CVE / Encode

CVE-2020-7694Encode Uvicorn

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
1.4%
probabilidad de explotación en 30 días · percentil 72
Requiere autenticación
No
Publicada
27 jul 2020
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-94, CWE-116
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Qué pasa

This affects all versions of package uvicorn. The request logger provided by the package is vulnerable to ASNI escape sequence injection. Whenever any HTTP request is received, the default behaviour of uvicorn is to log its details to either the console or a log file. When attackers request crafted URLs with percent-encoded escape sequences, the logging component will log the URL after it's been processed with urllib.parse.unquote, therefore converting any percent-encoded characters into their single-character equivalent, which can have special meaning in terminal emulators. By requesting URLs with crafted paths, attackers can: * Pollute uvicorn's access logs, therefore jeopardising the integrity of such files. * Use ANSI sequence codes to attempt to interact with the terminal emulator that's displaying the logs (either in real time or from a file).

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 Uvicorn.
  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 uvicorn < 0.11.7 0.11.7 pip install "uvicorn>=0.11.7"
PyPI uvicorn < 0.11.7 0.11.7 pip install "uvicorn>=0.11.7"

Según OSV / GitHub Advisories (GHSA-33c7-2mpw-hg34, PYSEC-2020-150). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
encodeuvicorntodas

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.