CVE-2024-52804
HIGH 7.5CVSS 3.1Tornado has an 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.
- Published
- 22 Nov 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-8w49-h785-mj3cPYSEC-2026-1975
- Sources
- NVDJSONOSV GHSA-8w49-h785-mj3cJSONOSV PYSEC-2026-1975JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tornadoweb | tornadocpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:* |
< 6.4.2 | 6.4.2 |
| OSV | PyPI | tornado | < 6.4.2 | 6.4.2 |
References
- https://github.com/advisories/GHSA-7pwv-g7hj-39pr · Not Applicable
- https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533 · Patch, WEB
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52804 · ADVISORY
- https://github.com/tornadoweb/tornado · PACKAGE
- https://pypi.org/project/tornado · PACKAGE
- https://github.com/advisories/GHSA-8w49-h785-mj3c · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 22 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Nov 2024)