Vulnerability
CVE-2025-67724
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.
49 advisories report this vulnerability, across 9 ecosystems.
Advisories in Amazon Linux
-
ALAS2-2025-3106
Amazon Linux 2 2017.12 - ALAS2-2025-3106: important priority package update for python-tornado
-
ALAS2-2025-3109
Amazon Linux 2 2017.12 - ALAS2-2025-3109: important priority package update for python3-tornado
-
ALAS2023-2025-1338
Amazon Linux 2023 - ALAS2023-2025-1338: Important priority package update for python-tornado
-
ALAS2023-2026-1528
Amazon Linux 2023 - ALAS2023-2026-1528: Important priority package update for python3.13-tornado