Advisory

PYSEC-2020-151

Also known as: CVE-2020-7695, GHSA-f97h-2pfx-f59f, SNYK-PYTHON-UVICORN-570471

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2020-07-27 12:15 UTC
Modified
2023-11-08 04:04 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: PyPA Advisory Database · CC BY 4.0

Sources & licences