{"id":"UBUNTU-CVE-2020-7695","details":"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.","modified":"2026-05-20T16:06:24.809398512Z","published":"2020-07-27T12:15:00Z","upstream":["CVE-2020-7695"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-7695"},{"type":"REPORT","url":"https://github.com/encode/uvicorn"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-PYTHON-UVICORN-570471"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-7695"}],"affected":[{"package":{"name":"python-uvicorn","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-uvicorn?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.24-1","0.11.1-1","0.11.2-1","0.11.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-uvicorn","binary_version":"0.11.3-1"},{"binary_name":"uvicorn","binary_version":"0.11.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7695.json"}},{"package":{"name":"python-uvicorn","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-uvicorn?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.3-1","0.15.0-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-uvicorn","binary_version":"0.15.0-2ubuntu1"},{"binary_version":"0.15.0-2ubuntu1","binary_name":"uvicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7695.json"}},{"package":{"name":"python-uvicorn","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-uvicorn?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.2+dfsg-1","0.24.0-1build1","0.25.0-1","0.26.0-1","0.27.0-1","0.27.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-uvicorn","binary_version":"0.27.1-1"},{"binary_version":"0.27.1-1","binary_name":"uvicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7695.json"}},{"package":{"name":"python-uvicorn","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-uvicorn?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.32.0-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-uvicorn","binary_version":"0.32.0-3"},{"binary_version":"0.32.0-3","binary_name":"uvicorn"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7695.json"}},{"package":{"name":"python-uvicorn","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-uvicorn?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.32.0-3","0.38.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-uvicorn","binary_version":"0.38.0-1"},{"binary_name":"uvicorn","binary_version":"0.38.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7695.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}