HIGH 7.5 PyPI

Tornado has an HTTP cookie parsing DoS vulnerability

GHSA-8w49-h785-mj3c · CVE-2024-52804 · PYSEC-2026-1975

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes