Description
CRLF injection vulnerability in the tornado.web.RequestHandler.set_header function in Tornado before 2.2.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via crafted input.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-tornado | 2.1.0-3 | — |
| Debian 13 | python-tornado | 2.1.0-3 | — |
| Debian 12 | python-tornado | 2.1.0-3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | tornado | < 2.2.1 | 2.2.1 | GHSA-f7fv-v9rh-prvc |
References
- 53612 vdb-entry
- http://www.tornadoweb.org/documentation/releases/v2.2.1.html
- 49185 third-party-advisory
- [oss-security] 20120518 CVE Request -- Tornado (python-tornado): Tornado v2.2.1 tornado.web.RequestHandler.set_header() fix to prevent header injection mailing-list
- [oss-security] 20120518 Re: CVE Request -- Tornado (python-tornado): Tornado v2.2.1 tornado.web.RequestHandler.set_header() fix to prevent header injection mailing-list