CVE-2024-52804: Tornado has HTTP cookie parsing DoS vulnerability

Published Nov 22, 2024
·
Updated

Last updated 11 December 2024

Other sources

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

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.

MITRE

Affected Software

3 affected componentsFixes available
pip/tornado<=6.4.1
6.4.2
debian/python-tornado<=6.1.0-1
6.1.0-1+deb11u16.2.0-3+deb12u16.4.2-1
tornadoweb tornado<6.4.2

Event History

Nov 22, 2024
CVE Published
via MITRE·03:43 PM
Data Sourced
via MITRE·03:43 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:26 PM
Dec 15, 2024
Data Sourced
via Ubuntu·03:13 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-52804?

CVE-2024-52804 has a high severity due to potential denial-of-service caused by excessive CPU consumption.

2

How do I fix CVE-2024-52804?

To fix CVE-2024-52804, upgrade Tornado to version 6.4.2 or later.

3

Which versions of Tornado are affected by CVE-2024-52804?

Tornado versions prior to 6.4.2 are affected by CVE-2024-52804.

4

What type of vulnerability is CVE-2024-52804?

CVE-2024-52804 is a denial-of-service vulnerability related to inefficient parsing of HTTP cookies.

5

In which environments is CVE-2024-52804 a concern?

CVE-2024-52804 is a concern for applications utilizing Tornado as their web framework that process HTTP cookies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2024-52804 - Tornado has HTTP cookie parsing DoS vulnerability - SecAlerts