{"id":"CVE-2024-52804","state":"PUBLISHED","title":"Tornado has HTTP cookie parsing DoS vulnerability","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.","publishedAt":"2024-11-22T15:43:38.572Z","updatedAt":"2025-11-03T22:28:40.235Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["tornadoweb tornado"],"affected":[{"vendor":"tornadoweb","product":"tornado","versions":[{"version":"< 6.4.2","status":"affected"}]}],"references":["https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c","https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533","https://github.com/advisories/GHSA-7pwv-g7hj-39pr","https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html"],"weaknesses":["CWE-400","CWE-770"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/52xxx/CVE-2024-52804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-52804","state":"PUBLISHED","datePublished":"2024-11-22T15:43:38.572Z","dateUpdated":"2025-11-03T22:28:40.235Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-15T17:11:13.441Z"},"containers":{"cna":{"title":"Tornado has HTTP cookie parsing DoS vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tornadoweb","product":"tornado","versions":[{"version":"< 6.4.2","status":"affected"}]}],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c","name":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-8w49-h785-mj3c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533","name":"https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-7pwv-g7hj-39pr","name":"https://github.com/advisories/GHSA-7pwv-g7hj-39pr","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-22T15:43:38.572Z"},"source":{"advisory":"GHSA-8w49-h785-mj3c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"tornadoweb","product":"tornado","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"6.4.2","versionType":"custom"}],"cpes":["cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-25T17:54:41.084248Z","id":"CVE-2024-52804","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-25T17:55:43.782Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:28:40.235Z"}}]}}}