-
Notifications
You must be signed in to change notification settings - Fork 1
Description
CVE-2020-7694 - High Severity Vulnerability
Vulnerable Library - uvicorn-0.11.1.tar.gz
The lightning-fast ASGI server.
Library home page: https://files.pythonhosted.org/packages/34/f3/b4a12c64d2b447393099f669b2041b345510f548de6dd458977cd9546208/uvicorn-0.11.1.tar.gz
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
- ❌ uvicorn-0.11.1.tar.gz (Vulnerable Library)
Vulnerability Details
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).
Publish Date: 2020-07-27
URL: CVE-2020-7694
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: High
- Availability Impact: None
Step up your Open Source Security Game with Mend here