Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. uvicorn
  4. ›
  5. CVE-2020-7695

CVE-2020-7695: HTTP response splitting in uvicorn

July 29, 2020 (updated November 18, 2024)

Uvicorn before 0.11.7 is vulnerable to HTTP response splitting. CRLF sequences are not escaped in the value of HTTP headers. Attackers can exploit exploit this to add arbitrary headers to HTTP responses, or even return an arbitrary response body, whenever crafted input is used to construct HTTP headers.

References

  • github.com/advisories/GHSA-f97h-2pfx-f59f
  • github.com/encode/uvicorn
  • github.com/pypa/advisory-database/tree/main/vulns/uvicorn/PYSEC-2020-151.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-7695
  • snyk.io/vuln/SNYK-PYTHON-UVICORN-570471

Code Behaviors & Features

Detect and mitigate CVE-2020-7695 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.11.7

Fixed versions

  • 0.11.7

Solution

Upgrade to version 0.11.7 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/uvicorn/CVE-2020-7695.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.