5.3medium
HTTP Response Splitting
- Severity
- 5.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.39% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-f97h-2pfx-f59fPYSEC-2020-151SNYK-PYTHON-UVICORN-570471
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| uvicorn | before unspecified | CVE List |
| uvicorn (PyPI) | before 0.11.7 | GitHub Advisory Database, PyPA Advisory Database |
| encode uvicorn | before 0.11.7 | NVD |
All scores
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:U/RC:C |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Uvicornio versiones anteriores a 0.11.7 es vulnerable a la división de la respuesta HTTP.Las secuencias CRLF no escapaban en el valor de los encabezados HTTP. Los atacantes pueden explotar esto para agregar encabezados arbitrarios en las respuestas HTTP, o inclusive devolver un cuerpo de respuesta arbitrario, siempre que es usada una entrada diseñada para construir encabezados HTTP
References
| https://github.com/encode/uvicorn | package, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-PYTHON-UVICORN-570471 | advisory, exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7695 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/uvicorn/PYSEC-2020-151.yaml | web | |
| https://github.com/advisories/GHSA-f97h-2pfx-f59f | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-7695 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f97h-2pfx-f59f changed 2024-11-18 | CC-BY-4.0 |
| NVD | CVE-2020-7695 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-151 changed 2023-11-08 | CC-BY-4.0 |