cve.bz

CVE-2024-52804 tornadoweb tornado: Uncontrolled Resource Consumption

7.5 highEPSS 1.0%Fix available

High (7.5) in tornadoweb tornado. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in tornado 6.4.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-52804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52804?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52804?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52804 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tornadoweb:tornadobefore 6.4.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8w49-h785-mj3cPyPItornado<6.4.26.4.2
PYSEC-2026-1975PyPItornado<6.4.26.4.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-tornado6.1.0-1+deb11u1DLA-4007-1
Debian12python-tornado6.2.0-3+deb12u1DEBIAN-CVE-2024-52804
Debian13, 14python-tornado6.4.2-1DEBIAN-CVE-2024-52804
Ubuntu24.04:LTSpython-tornado6.4.0-1ubuntu0.1UBUNTU-CVE-2024-52804 USN-7150-1
Ubuntu25.10python-tornado6.4.2-1UBUNTU-CVE-2024-52804
UbuntuPro:18.04:LTSpython-tornado4.5.3-1ubuntu0.2+esm1UBUNTU-CVE-2024-52804 USN-7150-1
UbuntuPro:20.04:LTSpython-tornado6.0.3+really5.1.1-3ubuntu0.1~esm1UBUNTU-CVE-2024-52804 USN-7150-1
UbuntuPro:22.04:LTSpython-tornado6.1.0-3ubuntu0.1~esm1UBUNTU-CVE-2024-52804 USN-7150-1
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstoragepcs, pcs-snmp0:0.10.18-2.el8_10.4RHSA-2025:2872
Red Hatenterprise_linux:9::appstreampython-tornado, python3-tornado, python3-tornado-debuginfo and 1 more0:6.4.2-1.el9_5RHSA-2024:10590
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.8-1.el9_5.2RHSA-2025:2471
Red Hatrhel_aus:8.4::highavailability, rhel_e4s:8.4::highavailability, rhel_tus:8.4::highavailabilitypcs, pcs-snmp0:0.10.8-1.el8_4.6RHSA-2025:2955
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilitypcs, pcs-snmp0:0.10.12-6.el8_6.7RHSA-2025:2956
Red Hatrhel_e4s:9.0::highavailability, rhel_e4s:9.0::resilientstoragepcs, pcs-snmp0:0.11.1-10.el9_0.7RHSA-2025:2550
Red Hatrhel_eus:8.8::highavailability, rhel_eus:8.8::resilientstoragepcs, pcs-snmp0:0.10.15-4.el8_8.4RHSA-2025:3109
Red Hatrhel_eus:9.2::appstreampython-tornado, python3-tornado, python3-tornado-debuginfo and 1 more0:6.4.2-1.el9_2RHSA-2024:10836
Red Hatrhel_eus:9.2::highavailability, rhel_eus:9.2::resilientstoragepcs, pcs-snmp0:0.11.4-7.el9_2.4RHSA-2025:3108
Red Hatrhel_eus:9.4::appstreampython-tornado, python3-tornado, python3-tornado-debuginfo and 1 more0:6.4.2-1.el9_4RHSA-2024:10843
Red Hatrhel_eus:9.4::highavailability, rhel_eus:9.4::resilientstoragepcs, pcs-snmp0:0.11.7-2.el9_4.3RHSA-2025:2470
SUSELinux Enterprise Module for Python 3 15 SP5, Linux Enterprise Module for Python 3 15 SP6python-tornado66.3.2-150400.9.6.1SUSE-SU-2024:4137-1
SUSELinux Micro 6.0python-tornado66.4-2.1SUSE-SU-2025:20096-1
SUSELinux Micro 6.1python-tornado66.4-slfo.1.1_2.1SUSE-SU-2025:20445-1
openSUSELeap 15.5, Leap 15.6python-tornado66.3.2-150400.9.6.1SUSE-SU-2024:4137-1
openSUSETumbleweedpython-tornado66.4.2-1.1openSUSE-SU-2024:14528-1
AlmaLinux8pcs, pcs-snmp0.10.18-2.el8_10.4.alma.1ALSA-2025:2872
AlmaLinux9python3-tornado6.4.2-1.el9_5ALSA-2024:10590
Rocky Linux8pcs0:0.10.18-2.el8_10.4RLSA-2025:2872
Rocky Linux9pcs0:0.11.8-1.el9_5.2RLSA-2025:2471
Rocky Linux9python-tornado0:6.4.2-1.el9_5RLSA-2024:10590
Azure Linux2python-tornadono fix listedAZL-53624
Azure Linux3python-tornadono fix listedAZL-53522
Alpaquitastreampy3-tornado6.4.2-r0BELL-CVE-2024-52804

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pcs-0:0.10.18-2.el8_10.4Fixed 2025-03-17RHSA-2025:2872
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpcs-0:0.10.8-1.el8_4.6Fixed 2025-03-17RHSA-2025:2955
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicepcs-0:0.10.8-1.el8_4.6Fixed 2025-03-17RHSA-2025:2955
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionspcs-0:0.10.8-1.el8_4.6Fixed 2025-03-17RHSA-2025:2955
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepcs-0:0.10.12-6.el8_6.7Fixed 2025-03-17RHSA-2025:2956
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionspcs-0:0.10.12-6.el8_6.7Fixed 2025-03-17RHSA-2025:2956
Red Hat Enterprise Linux 8.8 Extended Update Supportpcs-0:0.10.15-4.el8_8.4Fixed 2025-03-24RHSA-2025:3109
Red Hat Enterprise Linux 9python-tornado-0:6.4.2-1.el9_5Fixed 2024-12-02RHSA-2024:10590
Red Hat Enterprise Linux 9pcs-0:0.11.8-1.el9_5.2Fixed 2025-03-10RHSA-2025:2471
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionspcs-0:0.11.1-10.el9_0.7Fixed 2025-03-10RHSA-2025:2550
Red Hat Enterprise Linux 9.2 Extended Update Supportpython-tornado-0:6.4.2-1.el9_2Fixed 2024-12-05RHSA-2024:10836
Red Hat Enterprise Linux 9.2 Extended Update Supportpcs-0:0.11.4-7.el9_2.4Fixed 2025-03-24RHSA-2025:3108
Red Hat Enterprise Linux 9.4 Extended Update Supportpython-tornado-0:6.4.2-1.el9_4Fixed 2024-12-05RHSA-2024:10843
Red Hat Enterprise Linux 9.4 Extended Update Supportpcs-0:0.11.7-2.el9_4.3Fixed 2025-03-10RHSA-2025:2470
Red Hat Enterprise Linux 10pcsNot affected
Red Hat Enterprise Linux 7python-tornadoOut of support scope
Red Hat OpenShift Container Platform 4python-tornadoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52804.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON