CRLF injection vulnerability in the tornado.web.RequestHandler.set_header function in…
Priority LOW 26CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Partial · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.01346 71st percentileScored 2026-11-07
Fix Fixed tornado (PyPI): 2.2.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | tornado (PyPI) | before 2.2.1 | 2.2.1 | Patch available | GHSA-f7fv-v9rh-prvc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- tornado (PyPI) Vendor— Affected before 2.2.1 Fixed in 2.2.1 Patch available GHSA-f7fv-v9rh-prvc
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:* | up to 2.2 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.0:*:*:*:*:*:*:* | 1.0 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.0.1:*:*:*:*:*:*:* | 1.0.1 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.1:*:*:*:*:*:*:* | 1.1 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.1.1:*:*:*:*:*:*:* | 1.1.1 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.2:*:*:*:*:*:*:* | 1.2 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:1.2.1:*:*:*:*:*:*:* | 1.2.1 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:2.1:*:*:*:*:*:*:* | 2.1 | Vulnerable | tornadoweb |
| cpe:2.3:a:tornadoweb:tornado:2.1.1:*:*:*:*:*:*:* | 2.1.1 | Vulnerable | tornadoweb |
- cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:* Versions up to 2.2 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.0:*:*:*:*:*:*:* Versions 1.0 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.1:*:*:*:*:*:*:* Versions 1.1 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.1.1:*:*:*:*:*:*:* Versions 1.1.1 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.2:*:*:*:*:*:*:* Versions 1.2 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:1.2.1:*:*:*:*:*:*:* Versions 1.2.1 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:2.1:*:*:*:*:*:*:* Versions 2.1 Vulnerable ·tornadoweb
- cpe:2.3:a:tornadoweb:tornado:2.1.1:*:*:*:*:*:*:* Versions 2.1.1 Vulnerable ·tornadoweb
Remediation
- Fix · GHSA-f7fv-v9rh-prvc tornado (PyPI) Fixed in 2.2.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-2374
- 2026-10-03 Alias added: GHSA-f7fv-v9rh-prvc
References
Advisory 2
Other 7
- [oss-security] 20120518 CVE Request -- Tornado (python-tornado): Tornado v2.2.1 tornado.web.RequestHandler.set_header() fix to prevent header injection
- [oss-security] 20120518 Re: CVE Request -- Tornado (python-tornado): Tornado v2.2.1 tornado.web.RequestHandler.set_header() fix to prevent header injection
- https://github.com/tornadoweb/tornado/commit/1ae91f6d58e6257e0ab49d295d8741ce1727bdb7
- https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2012-5.yaml
- https://github.com/tornadoweb/tornado
- https://web.archive.org/web/20140720192646/http://secunia.com/advisories/49185
- https://web.archive.org/web/20200229124524/http://www.securityfocus.com/bid/53612
More tornadoweb Tornado vulnerabilities
- TI-2026-24502 Tornado has a DoS due to too many multipart parts CVSS 4.0HIGH 8.7
- TI-2024-35317 Tornado has HTTP cookie parsing DoS vulnerability CVSS 3.1HIGH 7.5
- TI-2025-41422 Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters CVSS 3.1HIGH 7.5
- TI-2025-41421 Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing CVSS 3.1HIGH 7.5
- TI-2025-29817 Tornado vulnerable to excessive logging caused by malformed multipart form data CVSS 3.1HIGH 7.5
- TI-2026-27646 In Tornado before 6.5.5, cookie attribute injection could occur because the domain, path… CVSS 3.1HIGH 7.2
Sources
- CVE-2012-2374 · CVE Program
- CVE-2012-2374 · NVD
- FIRST EPSS
- GHSA-f7fv-v9rh-prvc · GitHub Advisory Database · CC BY 4.0
- CVE-2012-2374 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences