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.
See also CVE-2024-7592 for a similar vulnerability in cpython.
{
"github_reviewed_at": "2024-11-22T20:26:41Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-400",
"CWE-770"
],
"nvd_published_at": "2024-11-22T16:15:34Z",
"severity": "HIGH"
}