CVE-2020-7694

HighCVSS 7.5/10Last modified Jun 17, 2026

Description

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).

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jul 27, 2020
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2020

CVE-2020-76955.3Uvicorn before 0.11.7 is vulnerable to HTTP response splitting. CRLF sequences are not escaped in the value of HTTP headers. Attackers can eCVE-2020-76965.3This affects all versions of package react-native-fast-image. When an image with source={{uri: "...", headers: { host: "somehost.com", authoCVE-2020-76979.8This affects all versions of package mock2easy. a malicious user could inject commands through the _data variable: Affected Area require('..CVE-2020-76989.8This affects the package Gerapy from 0 and before 0.9.3. The input being passed to Popen, via the project_configure endpoint, isn’t being saCVE-2020-76999.8This affects the package express-fileupload before 1.1.8. If the parseNested option is enabled, sending a corrupt HTTP request can lead to dCVE-2020-77009.8All versions of phpjs are vulnerable to Prototype Pollution via parse_str.CVE-2020-77019.8madlib-object-utils before 0.1.7 is vulnerable to Prototype Pollution via setValue.CVE-2020-77029.8All versions of package templ8 are vulnerable to Prototype Pollution via the parse function.CVE-2020-77039.8All versions of package nis-utils are vulnerable to Prototype Pollution via the setValue function.CVE-2020-77049.8The package linux-cmdline before 1.0.1 are vulnerable to Prototype Pollution via the constructor.CVE-2020-77058.1This affects the package MintegralAdSDK from 0.0.0. The SDK distributed by the company contains malicious functionality that tracks any URL CVE-2020-77069.8The package connie-lang before 0.1.1 are vulnerable to Prototype Pollution in the configuration language library used by connie.
CVE-2020-7694: High severity, CVSS 7.5 | Vulnix