Skip to content

CVE-2020-7694 (High) detected in uvicorn-0.11.1.tar.gz #48

@mend-bolt-for-github

Description

@mend-bolt-for-github

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-07-27

Fix Resolution: 0.11.7


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions