Skip to content
Noroxi
CVE-2024-52804· NVD / CVE Program· CNA GitHub_M

Tornado has HTTP cookie parsing DoS vulnerability

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Nov 22, 2024
Updated
Jun 17, 2026
EPSS
1.0% · 63th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.0%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
7.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
tornadowebtornado

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • tornadoweb tornadobefore 6.4.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • tornadoweb tornado

    • < 6.4.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8pcsbefore 0.10.18-2.el8_10.4.alma.10.10.18-2.el8_10.4.alma.1
AlmaLinux:8pcs-snmpbefore 0.10.18-2.el8_10.4.alma.10.10.18-2.el8_10.4.alma.1
AlmaLinux:9python3-tornadobefore 6.4.2-1.el9_56.4.2-1.el9_5
Debian:11python-tornadobefore 6.1.0-1+deb11u16.1.0-1+deb11u1
Debian:12python-tornadobefore 6.2.0-3+deb12u16.2.0-3+deb12u1
Debian:13python-tornadobefore 6.4.2-16.4.2-1
openSUSE:Tumbleweedpython-tornado6before 6.4.2-1.16.4.2-1.1
PyPItornadobefore 6.4.26.4.2
Red Hat:enterprise_linux:8::highavailabilitypcsbefore 0:0.10.18-2.el8_10.40:0.10.18-2.el8_10.4
Red Hat:enterprise_linux:8::highavailabilitypcs-snmpbefore 0:0.10.18-2.el8_10.40:0.10.18-2.el8_10.4
Red Hat:enterprise_linux:9::appstreampython-tornadobefore 0:6.4.2-1.el9_50:6.4.2-1.el9_5
Red Hat:enterprise_linux:9::appstreampython-tornado-debugsourcebefore 0:6.4.2-1.el9_50:6.4.2-1.el9_5
Red Hat:enterprise_linux:9::appstreampython3-tornadobefore 0:6.4.2-1.el9_50:6.4.2-1.el9_5
Red Hat:enterprise_linux:9::appstreampython3-tornado-debuginfobefore 0:6.4.2-1.el9_50:6.4.2-1.el9_5
Red Hat:enterprise_linux:9::highavailabilitypcsbefore 0:0.11.8-1.el9_5.20:0.11.8-1.el9_5.2
Red Hat:enterprise_linux:9::highavailabilitypcs-snmpbefore 0:0.11.8-1.el9_5.20:0.11.8-1.el9_5.2
Red Hat:rhel_aus:8.4::highavailabilitypcsbefore 0:0.10.8-1.el8_4.60:0.10.8-1.el8_4.6
Red Hat:rhel_aus:8.4::highavailabilitypcs-snmpbefore 0:0.10.8-1.el8_4.60:0.10.8-1.el8_4.6
Red Hat:rhel_e4s:8.6::highavailabilitypcsbefore 0:0.10.12-6.el8_6.70:0.10.12-6.el8_6.7
Red Hat:rhel_e4s:8.6::highavailabilitypcs-snmpbefore 0:0.10.12-6.el8_6.70:0.10.12-6.el8_6.7
Red Hat:rhel_e4s:9.0::highavailabilitypcsbefore 0:0.11.1-10.el9_0.70:0.11.1-10.el9_0.7
Red Hat:rhel_e4s:9.0::highavailabilitypcs-snmpbefore 0:0.11.1-10.el9_0.70:0.11.1-10.el9_0.7
Red Hat:rhel_eus:8.8::highavailabilitypcsbefore 0:0.10.15-4.el8_8.40:0.10.15-4.el8_8.4
Red Hat:rhel_eus:8.8::highavailabilitypcs-snmpbefore 0:0.10.15-4.el8_8.40:0.10.15-4.el8_8.4

+19

Other highest-scoring records for the same primary product.

  • CVE-2024-14029Tornado before 6.4.1 HTTP Request Smuggling via Transfer-Encoding
    36Monitor
  • CVE-2023-54397Tornado before 6.3.3 HTTP Request Smuggling via Content-Length
    36Monitor
  • CVE-2026-91990Tornado before 6.5.8 Memory Amplification DoS via multipart
    34Monitor
  • CVE-2026-31958Tornado has a DoS due to too many multipart parts
    34Monitor
  • CVE-2026-91992Tornado before 6.5.7 Credential Leak via Handle Reuse
    32Monitor
  • CVE-2026-82397Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:pcs0.10.18-2.el8_10.4.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:pcs-snmp0.10.18-2.el8_10.4.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python3-tornado6.4.2-1.el9_5 · AlmaLinux:9Package registry (OSV)
debian:python-tornado6.2.0-3+deb12u1 · Debian:12Package registry (OSV)
opensuse:python-tornado66.3.2-150400.9.6.1 · openSUSE:Leap 15.5Package registry (OSV)
PyPI:tornado6.4.2Package registry (OSV)
red hat:pcs0:0.11.7-2.el9_4.3 · Red Hat:rhel_eus:9.4::highavailabilityPackage registry (OSV)
red hat:pcs-snmp0:0.11.7-2.el9_4.3 · Red Hat:rhel_eus:9.4::highavailabilityPackage registry (OSV)
red hat:python-tornado0:6.4.2-1.el9_5 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:python-tornado-debugsource0:6.4.2-1.el9_5 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:python3-tornado0:6.4.2-1.el9_5 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:python3-tornado-debuginfo0:6.4.2-1.el9_5 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
rocky linux:pcs0:0.11.8-1.el9_5.2 · Rocky Linux:9Package registry (OSV)
rocky linux:python-tornado0:6.4.2-1.el9_5 · Rocky Linux:9Package registry (OSV)
suse:python-tornado66.3.2-150400.9.6.1 · SUSE:Linux Enterprise Module for Python 3 15 SP5Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-31958474 days apartTornado has a DoS due to too many multipart parts
    34Monitor
  • CVE-2025-67725385 days apartTornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing
    30Monitor
  • CVE-2025-67726385 days apartTornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters
    30Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records