CVE-2020-7695Encode Uvicorn
Medium 5.3 No auth needed
Follow: this CVE · Encode · Encode Uvicorn We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jul 27, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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 this to add arbitrary headers to HTTP responses, or even return an arbitrary response body, whenever crafted input is used to construct HTTP headers.
What to do
- Apply the vendor's security update for Uvicorn.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | uvicorn |
< 0.11.7 |
0.11.7 |
pip install "uvicorn>=0.11.7" |
| PyPI | uvicorn |
< 0.11.7 |
0.11.7 |
pip install "uvicorn>=0.11.7" |
Per OSV / GitHub Advisories (GHSA-f97h-2pfx-f59f, PYSEC-2020-151). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| encode | uvicorn | < 0.11.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- snyk.io Exploit Third Party Advisory