Advisory

GHSA-f97h-2pfx-f59f

Also known as: CVE-2020-7695, PYSEC-2020-151, SNYK-PYTHON-UVICORN-570471

Summary

HTTP response splitting in uvicorn

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 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-07-29 18:07 UTC
Modified
2024-11-18 22:36 UTC

Affected packages and fixes

uvicorn

PyPI · All systems

Affected

  • introduced 0, fixed 0.11.7 (ecosystem)

Fixed versions

0.11.7

Fix

  • Fixed version 0.11.7
    pip install --upgrade uvicorn==0.11.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences