Skip to main content
CVE-2024-52804VulnerabilityPublished Updated

CVE-2024-52804: tornadoweb tornado · Uncontrolled Resource Consumption

Affects tornadoweb tornadoSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 6.4.2 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPItornadopkg:pypi/tornadoOther threatsAffected
  • <6.4.2
Fixed in
  • 6.4.2

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

Community reviews

Loading reviews…