What’s Vulnerable › Vulnerabilities

CVE-2024-52804: 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.

Affected products

How to fix

Upgrade to a fixed version: tornadoweb tornado 6.4.2; Pypi Tornado 6.4.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-52804 or the next vulnerability affects your stack