Tornado has HTTP cookie parsing DoS vulnerability
CVE-2024-52804Published 22 Nov 2024, 15:43 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| tornadoNiche | < 6.4.2 | 6.4.2 |
What to do
Update to a fixed version: 6.4.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.0% chance of exploitation in 30 days (percentile 65), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 22 Nov 2024 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-400, CWE-770
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3cvendor-advisory
- https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533misc
- https://github.com/advisories/GHSA-7pwv-g7hj-39prmisc
- https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html
- CVE-2024-52804 on CVE.org