CVE-2024-52804: tornadoweb tornado · Uncontrolled Resource Consumption
Affects tornadoweb tornadoSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 6.4.2 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.4.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade tornadoweb tornado to 6.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPItornadopkg:pypi/tornadoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should take immediate action to mitigate this vulnerability by upgrading all Tornado deployments to version 6.4.2 or later, where the issue is resolved. For environments where immediate upgrading is not feasible, implementing network-level protections such as rate limiting or filtering suspicious HTTP cookie headers can reduce exposure. Monitoring CPU usage and application performance metrics can help detect anomalous spikes indicative of exploitation attempts. Application-layer firewalls or Web Application Firewalls (WAFs) should be configured to inspect and block malformed or excessively large cookie headers. Developers should review and test their Tornado-based applications to ensure they do not rely on vulnerable versions. Additionally, organizations should maintain an inventory of Tornado usage across their infrastructure to identify affected systems. Regular patch management and vulnerability scanning processes should be enforced to prevent similar risks. Finally, incident response plans should be updated to include detection and mitigation strategies for resource exhaustion attacks targeting asynchronous frameworks.
Description
Tornado is a Python web framework and asynchronous networking library. The algorithm used for parsing HTTP cookies in Tornado versions prior to 6.4.2 sometimes has quadratic complexity, leading to excessive CPU consumption when parsing maliciously-crafted cookie headers. This parsing occurs in the event loop thread and may block the processing of other requests. Version 6.4.2 fixes the issue.
References
- github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c (opens in a new tab)
- github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533 (opens in a new tab)
- github.com/advisories/GHSA-7pwv-g7hj-39pr (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00000.html (opens in a new tab)