CVE-2020-7695
Encode Uvicorn vulnerability
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.
Affected products
Uvicorn. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Encode Uvicorn runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/encode/uvicorn · Third Party Advisory
- snyk.io/vuln/SNYK-PYTHON-UVICORN-570471 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-7695
- github.com/pypa/advisory-database/tree/main/vulns/uvicorn/PYSEC-2020-151.yaml
- github.com/advisories/GHSA-f97h-2pfx-f59f
- nvd.nist.gov/vuln/detail/CVE-2020-7695
- cve.org/CVERecord?id=CVE-2020-7695
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.