Python/uvicorn/0.1.0


The lightning-fast ASGI server.

https://pypi.org/project/uvicorn
BSD

2 Security Vulnerabilities

Log injection in uvicorn

Published date: 2020-07-29T18:07:16Z
CVE: CVE-2020-7694
Links:

This affects all versions of package uvicorn. The request logger provided by the package is vulnerable to ASNI escape sequence injection. Whenever any HTTP request is received, the default behaviour of uvicorn is to log its details to either the console or a log file. When attackers request crafted URLs with percent-encoded escape sequences, the logging component will log the URL after it's been processed with urllib.parse.unquote, therefore converting any percent-encoded characters into their single-character equivalent, which can have special meaning in terminal emulators. By requesting URLs with crafted paths, attackers can: * Pollute uvicorn's access logs, therefore jeopardising the integrity of such files. * Use ANSI sequence codes to attempt to interact with the terminal emulator that's displaying the logs (either in real time or from a file).

Affected versions: ["0.11.6", "0.11.5", "0.11.4", "0.11.3", "0.11.2", "0.11.1", "0.11.0", "0.10.9", "0.10.8", "0.10.7", "0.10.6", "0.10.5", "0.10.4", "0.10.3", "0.10.2", "0.10.1", "0.10.0", "0.9.1", "0.9.0", "0.8.6", "0.8.5", "0.8.4", "0.8.3", "0.8.2", "0.8.1", "0.8.0", "0.7.3", "0.7.2", "0.7.1", "0.7.0", "0.7.0b2", "0.7.0b1", "0.6.1", "0.6.0", "0.5.2", "0.5.1", "0.5.0", "0.4.6", "0.4.5", "0.4.4", "0.4.3", "0.4.2", "0.4.1", "0.4.0", "0.3.32", "0.3.31", "0.3.30", "0.3.29", "0.3.28", "0.3.27", "0.3.26", "0.3.25", "0.3.24", "0.3.23", "0.3.22", "0.3.21", "0.3.20", "0.3.19", "0.3.18", "0.3.17", "0.3.16", "0.3.15", "0.3.14", "0.3.13", "0.3.12", "0.3.11", "0.3.10", "0.3.9", "0.3.8", "0.3.7", "0.3.6", "0.3.5", "0.3.4", "0.3.3", "0.3.2", "0.3.1", "0.3.0", "0.2.22", "0.2.21", "0.2.20", "0.2.19", "0.2.18", "0.2.17", "0.2.16", "0.2.15", "0.2.14", "0.2.13", "0.2.12", "0.2.11", "0.2.10", "0.2.9", "0.2.8", "0.2.7", "0.2.6", "0.2.5", "0.2.4", "0.2.3", "0.2.2", "0.2.1", "0.2.0", "0.1.1", "0.1.0", "0.0.15", "0.0.14", "0.0.13", "0.0.12", "0.0.11", "0.0.10", "0.0.9", "0.0.8", "0.0.7", "0.0.6", "0.0.5", "0.0.4", "0.0.3", "0.0.2", "0.0.1"]
Secure versions: [0.11.7, 0.11.8, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.0.post1, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.17.6, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.0.post1, 0.25.0, 0.26.0, 0.27.0, 0.27.0.post1, 0.27.1, 0.28.0, 0.28.1, 0.29.0, 0.30.0, 0.30.1, 0.30.2, 0.30.3, 0.30.4, 0.30.5, 0.30.6, 0.31.0, 0.31.1, 0.32.0, 0.32.1, 0.33.0, 0.34.0, 0.34.1, 0.34.2, 0.34.3, 0.35.0, 0.36.0, 0.36.1, 0.37.0, 0.38.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.50.1, 0.50.2, 0.51.0, 0.52.0]
Recommendation: Update to version 0.52.0.

HTTP response splitting in uvicorn

Published date: 2020-07-29T18:07:20Z
CVE: CVE-2020-7695
Links:

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.

Affected versions: ["0.11.6", "0.11.5", "0.11.4", "0.11.3", "0.11.2", "0.11.1", "0.11.0", "0.10.9", "0.10.8", "0.10.7", "0.10.6", "0.10.5", "0.10.4", "0.10.3", "0.10.2", "0.10.1", "0.10.0", "0.9.1", "0.9.0", "0.8.6", "0.8.5", "0.8.4", "0.8.3", "0.8.2", "0.8.1", "0.8.0", "0.7.3", "0.7.2", "0.7.1", "0.7.0", "0.7.0b2", "0.7.0b1", "0.6.1", "0.6.0", "0.5.2", "0.5.1", "0.5.0", "0.4.6", "0.4.5", "0.4.4", "0.4.3", "0.4.2", "0.4.1", "0.4.0", "0.3.32", "0.3.31", "0.3.30", "0.3.29", "0.3.28", "0.3.27", "0.3.26", "0.3.25", "0.3.24", "0.3.23", "0.3.22", "0.3.21", "0.3.20", "0.3.19", "0.3.18", "0.3.17", "0.3.16", "0.3.15", "0.3.14", "0.3.13", "0.3.12", "0.3.11", "0.3.10", "0.3.9", "0.3.8", "0.3.7", "0.3.6", "0.3.5", "0.3.4", "0.3.3", "0.3.2", "0.3.1", "0.3.0", "0.2.22", "0.2.21", "0.2.20", "0.2.19", "0.2.18", "0.2.17", "0.2.16", "0.2.15", "0.2.14", "0.2.13", "0.2.12", "0.2.11", "0.2.10", "0.2.9", "0.2.8", "0.2.7", "0.2.6", "0.2.5", "0.2.4", "0.2.3", "0.2.2", "0.2.1", "0.2.0", "0.1.1", "0.1.0", "0.0.15", "0.0.14", "0.0.13", "0.0.12", "0.0.11", "0.0.10", "0.0.9", "0.0.8", "0.0.7", "0.0.6", "0.0.5", "0.0.4", "0.0.3", "0.0.2", "0.0.1"]
Secure versions: [0.11.7, 0.11.8, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.0.post1, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.17.6, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.0.post1, 0.25.0, 0.26.0, 0.27.0, 0.27.0.post1, 0.27.1, 0.28.0, 0.28.1, 0.29.0, 0.30.0, 0.30.1, 0.30.2, 0.30.3, 0.30.4, 0.30.5, 0.30.6, 0.31.0, 0.31.1, 0.32.0, 0.32.1, 0.33.0, 0.34.0, 0.34.1, 0.34.2, 0.34.3, 0.35.0, 0.36.0, 0.36.1, 0.37.0, 0.38.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.50.1, 0.50.2, 0.51.0, 0.52.0]
Recommendation: Update to version 0.52.0.

198 Other Versions

Version License Security Released
0.22.0 BSD 1970-01-01 - 00:00 over 56 years
0.21.1 BSD 1970-01-01 - 00:00 over 56 years
0.21.0 BSD 1970-01-01 - 00:00 over 56 years
0.20.0 BSD 1970-01-01 - 00:00 over 56 years
0.19.0 BSD 1970-01-01 - 00:00 over 56 years
0.18.3 BSD 1970-01-01 - 00:00 over 56 years
0.18.2 BSD 2022-06-27 - 11:52 about 4 years
0.18.1 BSD 2022-06-23 - 08:20 about 4 years
0.18.0 BSD 2022-06-23 - 07:39 about 4 years
0.17.6 BSD 2022-03-11 - 08:52 over 4 years
0.17.5 BSD 2022-02-16 - 12:55 over 4 years
0.17.4 BSD 2022-02-04 - 09:49 over 4 years
0.17.3 BSD 2022-02-03 - 15:34 over 4 years
0.17.2 BSD 2022-02-03 - 13:44 over 4 years
0.17.1 BSD 2022-01-28 - 10:29 over 4 years
0.17.0 BSD 2022-01-14 - 10:45 over 4 years
0.17.0.post1 BSD 2022-01-24 - 15:34 over 4 years
0.16.0 BSD 2021-12-08 - 11:42 over 4 years
0.15.0 BSD 2021-08-13 - 17:04 almost 5 years
0.14.0 BSD 2021-06-01 - 09:34 about 5 years
0.13.4 BSD 2021-02-20 - 16:49 over 5 years
0.13.3 BSD 2020-12-29 - 16:42 over 5 years
0.13.2 BSD 2020-12-20 - 08:41 over 5 years
0.13.1 BSD 2020-12-12 - 12:00 over 5 years
0.13.0 BSD 2020-12-08 - 16:19 over 5 years
0.12.3 BSD 2020-11-22 - 09:33 over 5 years
0.12.2 BSD 2020-10-19 - 15:47 almost 6 years
0.12.1 BSD 2020-09-30 - 13:15 almost 6 years
0.12.0 BSD 2020-09-28 - 09:58 almost 6 years
0.11.8 BSD 2020-07-31 - 16:55 about 6 years
0.11.7 BSD 2020-07-28 - 13:18 about 6 years
0.11.6 BSD 2 2020-07-17 - 14:34 about 6 years
0.11.5 BSD 2 2020-04-29 - 10:44 over 6 years
0.11.4 BSD 2 2020-04-28 - 15:22 over 6 years
0.11.3 BSD 2 2020-02-17 - 16:23 over 6 years
0.11.2 BSD 2 2020-01-20 - 12:33 over 6 years
0.11.1 BSD 2 2019-12-20 - 11:54 over 6 years
0.11.0 BSD 2 2019-12-20 - 11:23 over 6 years
0.10.9 BSD 2 2019-12-19 - 15:35 over 6 years
0.10.8 BSD 2 2019-11-12 - 16:36 over 6 years
0.10.7 BSD 2 2019-11-12 - 15:10 over 6 years
0.10.6 BSD 2 2019-11-12 - 13:29 over 6 years
0.10.5 BSD 2 2019-11-12 - 09:18 over 6 years
0.10.4 BSD 2 2019-11-09 - 13:33 over 6 years
0.10.3 BSD 2 2019-11-01 - 10:31 over 6 years
0.10.2 BSD 2 2019-10-31 - 13:12 almost 7 years
0.10.1 BSD 2 2019-10-31 - 11:33 almost 7 years
0.10.0 BSD 2 2019-10-29 - 16:49 almost 7 years
0.9.1 BSD 2 2019-10-21 - 14:27 almost 7 years
0.9.0 BSD 2 2019-09-06 - 16:04 almost 7 years