PT-2020-19717 · Sebastian Ramirez · Uvicorn

Everardo Padilla Saca

·

Published

2020-07-27

·

Updated

2021-07-21

·

CVE-2020-7694

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions uvicorn (affected versions not specified)
Description The request logger in uvicorn is susceptible to ANSI escape sequence injection. When the package logs HTTP request details to the console or a log file, it can process crafted URLs with percent-encoded escape sequences, converting them into their single-character equivalent. This can have special meaning in terminal emulators, allowing attackers to pollute access logs and potentially interact with the terminal emulator displaying the logs. Attackers can exploit this by requesting URLs with crafted paths.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Code Injection

Improper Encoding or Escaping of Output

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-7694
GHSA-33C7-2MPW-HG34
PYSEC-2020-150
SNYK-PYTHON-UVICORN-575560

Affected Products

Uvicorn