
CVE catalog
CVE-2020-7694
python-uvicorn: CVE-2020-7694
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.36% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-uvicorn | sid | 0.53.0-1 | fixed |
| Debian | python-uvicorn | forky | 0.53.0-1 | fixed |
| Debian | python-uvicorn | trixie | 0.32.0-3 | fixed |
| Debian | python-uvicorn | bookworm | 0.17.6-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-uvicorn | source | sid | 0.13.3-1 | not yet assigned | Not reported | [969276] |
| Debian | python-uvicorn | source | forky | 0.13.3-1 | not yet assigned | Not reported | [969276] |
| Debian | python-uvicorn | source | trixie | 0.13.3-1 | not yet assigned | Not reported | [969276] |
| Debian | python-uvicorn | source | bookworm | 0.13.3-1 | not yet assigned | Not reported | [969276] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-uvicorn]Fixed
Source package: [python-uvicorn]
Details (2)
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
- [python-uvicorn-doc]Fixed
Source package: [python-uvicorn]
Details (2)
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
- [uvicorn]Fixed
Source package: [python-uvicorn]
Details (2)
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
0.17.6-1· all · bookwormFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · bookworm; dsa · python-uvicorn · debian · 12
[Debian 13 (Trixie)]
- [python3-uvicorn]Fixed
Source package: [python-uvicorn]
Details (2)
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
- [python-uvicorn-doc]Fixed
Source package: [python-uvicorn]
Details (2)
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
- [uvicorn]Fixed
Source package: [python-uvicorn]
Details (2)
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
0.32.0-3· all · trixieFixed · Fixed:
0.13.3-1dsa · python-uvicorn · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-7694]
- [https://security-tracker.debian.org/tracker/CVE-2020-7694]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-7694.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]