Tornado is a Python web framework and asynchronous networking library. In versions 6.5.2 and below, the supplied reason phrase is used unescaped in HT...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSpython-tornado |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpython-tornado |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSpython-tornado |
< 6.0.3+really5.1.1-3ubuntu0.1~esm3→ 6.0.3+really5.1.1-3ubuntu0.1~esm3 |
6.0.3+really5.1.1-3ubuntu0.1~esm3 |
| Ubuntu:Pro:22.04:LTSpython-tornado |
< 6.1.0-3ubuntu0.1~esm4→ 6.1.0-3ubuntu0.1~esm4 |
6.1.0-3ubuntu0.1~esm4 |
| Ubuntu:24.04:LTSpython-tornado |
< 6.4.0-1ubuntu0.4→ 6.4.0-1ubuntu0.4 |
6.4.0-1ubuntu0.4 |
| Ubuntu:25.10python-tornado |
< 6.4.2-3ubuntu0.2→ 6.4.2-3ubuntu0.2 |
6.4.2-3ubuntu0.2 |
Original description The description as published by the source.
Tornado is a Python web framework and asynchronous networking library. In versions 6.5.2 and below, the supplied reason phrase is used unescaped in HTTP headers (where it could be used for header injection) or in HTML in the default error page (where it could be used for XSS) and can be exploited by passing untrusted or malicious data into the reason argument. Used by both RequestHandler.set_status and tornado.web.HTTPError, the argument is designed to allow applications to pass custom "reason" phrases (the "Not Found" in HTTP/1.1 404 Not Found) to the HTTP status line (mainly for non-standard status codes). This issue is fixed in version 6.5.3.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com