CVE-2020-7695: HTTP response splitting in uvicorn
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.5289%
CWE
Published
7/29/2020
Updated
11/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
uvicorn | pip | < 0.11.7 | 0.11.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper neutralization of CRLF sequences in HTTP headers. The Snyk PoC demonstrates that user-controlled input (like URL path) is directly used in headers without escaping. The 'send'
method in HttpToolsProtocol
is responsible for constructing and writing HTTP responses, making it the logical point where header sanitization should occur. The lack of CRLF escaping in this function
matches the described vulnerability mechanism. The high confidence comes from the vulnerability's nature (header injection) and the standard ASGI server architecture where response construction occurs in protocol handlers.