CVE-2024-52804: Tornado has HTTP cookie parsing DoS vulnerability
Vulnerability summary
CVE-2024-52804 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in tornadoweb tornado. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 65.2% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 4Timeline
- 22-11-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.04%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.04% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard6 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- dask-gateway< 2024.1.0-r12
- dask-gateway-server< 2024.1.0-r12
- kubeflow-pipelines-visualization-server< 2.3.0-r4
Wolfi6 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- dask-gateway< 2024.1.0-r12
- dask-gateway-server< 2024.1.0-r12
- kubeflow-pipelines-visualization-server< 2.3.0-r4
Opensuse3 products
- python-tornado6&distro=openSUSE Leap 15.5< 6.3.2-150400.9.6.1
- python-tornado6&distro=openSUSE Leap 15.6< 6.3.2-150400.9.6.1
- python-tornado6&distro=openSUSE Tumbleweed< 6.4.2-1.1
Suse3 products
- python-tornado6&distro=SUSE Linux Enterprise Module for Python 3 15 SP5< 6.3.2-150400.9.6.1
- python-tornado6&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 6.3.2-150400.9.6.1
- python-tornado6&distro=SUSE Linux Micro 6.0< 6.4-2.1
Redhat2 products
- pcs< 0:0.11.1-10.el9_0.7 | < 0:0.10.18-2.el8_10.4 | < 0:0.10.8-1.el8_4.6 | < 0:0.10.12-6.el8_6.7 | < 0:0.10.15-4.el8_8.4
- pcs-snmp< 0:0.11.1-10.el9_0.7 | < 0:0.10.18-2.el8_10.4 | < 0:0.10.8-1.el8_4.6 | < 0:0.10.12-6.el8_6.7 | < 0:0.10.15-4.el8_8.4
Debian1 product
- python-tornado< 6.2.0-3+deb12u1 | < 6.4.2-1
Mageia1 product
- python-tornado< 6.3.2-1.1.mga9
PyPI1 product
- tornado< 6.4.2
Tornadoweb1 product
- tornado< 6.4.2
Ubuntu1 product
- python-tornado< 4.5.3-1ubuntu0.2+esm1 | < 6.0.3+really5.1.1-3ubuntu0.1~esm1 | < 6.1.0-3ubuntu0.1~esm1 | < 6.4.0-1ubuntu0.1 | < 6.4.2-1
10 vendors · 25 products
References
34 links- github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3cX Refsource CONFIRMWEBARTICLEREPORTAdvisoryThird Party Advisory
- github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533X Refsource MISCWEBARTICLEFIXPatch
Show all 34 references
- pypi.org/project/tornadoPACKAGE
- lists.opensuse.org/archives/…Advisory