VDB

CVE-2020-7694

CVE-2020-7694 PUBLISHED

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

EPSS 0.23% · 45.6th percentile

Risk Scores

EPSS Score
0.23%
45.6th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSpython-uvicorn0.11.2-1, 0.11.1-1, 0
Ubuntu:22.04:LTSpython-uvicorn0, 0.13.3-1, 0.15.0-2ubuntu1
Ubuntu:24.04:LTSpython-uvicorn0, *, 0.25.0-1
Ubuntu:25.10python-uvicorn0, 0.32.0-3

Timeline

  • Jul 27, 2020 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Oct 26, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 28, 2022 EPSS Score
  • Apr 1, 2022 EPSS Score
  • May 1, 2022 EPSS Score
  • Jul 3, 2022 EPSS Score
  • Sep 4, 2022 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›