Tornado has an HTTP cookie parsing DoS vulnerability
Description
Published by the National Vulnerability Database
Nov 22, 2024
Published to the GitHub Advisory Database
Nov 22, 2024
Reviewed
Nov 22, 2024
Last updated
Nov 22, 2024
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.
References