{"id":"CVE-2024-52804","published":"2024-11-22T15:43:38Z","modified":"2025-11-03T22:28:40Z","title":"Tornado has HTTP cookie parsing DoS vulnerability","vendor":"tornadoweb","product":"tornado","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01044,"percentile":0.64942,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-7pwv-g7hj-39pr","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":12.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tornadoweb","affectedVersions":[{"vendor":"tornadoweb","product":"tornado","versions":["< 6.4.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-25T17:54:41.084248Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tornado","vulnerableRanges":["<6.4.2"],"patched":["6.4.2"],"from":["GHSA-8w49-h785-mj3c","PYSEC-2026-1975"],"provenance":"source"}],"summary":{"text":"The Tornado Python web framework and asynchronous networking library has a flaw in its HTTP cookie parsing algorithm, which has quadratic complexity in versions before 6.4.2. Because the parsing runs on the event loop thread, a remote, unauthenticated attacker can send maliciously crafted cookie headers without any user interaction or special configuration, causing excessive CPU consumption that can block the handling of other requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:12Z"},"euvd":{"id":"EUVD-2024-3349","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2012-2374","published":"2012-05-23","fixed":"2.2.1","kev":false},{"cve":"CVE-2014-9720","published":"2020-01-24","fixed":"3.2.2","kev":false},{"cve":"CVE-2023-28370","published":"2023-05-25","fixed":"6.3.2","kev":false,"link":{"from":"CVE-2023-28370","to":"CVE-2024-52804","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.3.2","toFixed":"6.4.2","daysApart":547}]}},{"cve":"CVE-2024-52804","published":"2024-11-22","fixed":"6.4.2","kev":false},{"cve":"CVE-2025-47287","published":"2025-05-15","fixed":"6.5","kev":false,"link":{"from":"CVE-2024-52804","to":"CVE-2025-47287","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.4.2","toFixed":"6.5","daysApart":174},{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533","https://github.com/tornadoweb/tornado/commit/b39b892bf78fe8fea01dd45199aa88307e7162f3"],"basis":"shared file"}]}},{"cve":"CVE-2025-67724","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2025-67725","published":"2025-12-12","fixed":"6.5.3","kev":false}],"package":"PyPI:tornado"}}