All reports
High

Tornado has an HTTP cookie parsing DoS vulnerability

Affected versions

Version ranges need review.

Affected versions
<6.4.2
Fixed version
6.4.2
Affected versions
<= 6.4.1
Fixed version
6.4.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-52804

Probability of exploitation in the next 30 days: 1.04%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • kexinoh