VDB
Sign up
—

PYSEC-2020-151

Quick fix

PYSEC-2020-151 — uvicorn: upgrade to the fixed version with the command below.

pip install --upgrade 'uvicorn>=0.11.7'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/uvicorn
Introduced in: 0Fixed in: 0.11.7
Fixpip install --upgrade 'uvicorn>=0.11.7'

References