VYPR
High severityNVD Advisory· Published Jul 27, 2020· Updated Sep 17, 2024

HTTP Response Splitting

CVE-2020-7695

Description

Uvicorn before 0.11.7 fails to escape CRLF sequences in HTTP headers, allowing response splitting attacks.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Uvicorn before 0.11.7 fails to escape CRLF sequences in HTTP headers, allowing response splitting attacks.

Vulnerability

CVE-2020-7695 is an HTTP response splitting vulnerability in Uvicorn, an ASGI web server for Python. The root cause is that prior to version 0.11.7, CRLF sequences (\r\n) are not properly escaped in the values of HTTP headers when using the httptools parser [1][4]. This enables an attacker to inject arbitrary headers or even an entire HTTP response body into the server's response by providing crafted input in header values.

Exploitation

The attack surface is any endpoint that reflects user-controlled input in HTTP response headers. For example, if the application uses the request path as part of a header (e.g., Referer or a custom header), an attacker can send a GET request with a URL containing URL-encoded CRLF sequences, such as %0d%0a. The server then outputs these sequences, effectively allowing the attacker to terminate the current response and start a new one [4]. No authentication is required as the vector is purely request-based.

Impact

A successful exploit allows the attacker to control subsequent HTTP responses, potentially leading to cache poisoning, cross-site scripting (XSS), or content injection. The attacker can add arbitrary headers (e.g., Set-Cookie) or return a malicious response body, compromising users who interact with the poisoned response [1][2]. The vulnerability has a CVSS v3.1 score of 6.1 (Medium).

Mitigation

The vulnerability is fixed in Uvicorn version 0.11.7. Users should upgrade to this version or later [3][4]. There is no known workaround for older versions other than avoiding user input in header values. This CVE is not listed in CISA's Known Exploited Vulnerabilities catalog.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
uvicornPyPI
< 0.11.70.11.7

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.