CVE-2020-7694Encode Uvicorn
Alta 7.5 Sin autenticación
Seguir: esta CVE · Encode · Encode Uvicorn Te avisamos por email o Slack (requiere cuenta).
- 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
- 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).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Uvicorn.
- 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 | 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| encode | uvicorn | todas |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product Third Party Advisory
- snyk.io Exploit Third Party Advisory