CVEfocus › CVE database › CVE-2024-52804

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

CVSS 7.5 HighEPSS 1.4% (higher than 73% of CVEs)Published 2024-11-22Updated 2025-11-03Assigner: GitHub_M

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.

CWE-400CWE-770

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
3Fix pending
2Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10python-tornadoFixed6.4.2-1UBUNTU-CVE-2024-52804
Ubuntu 24.04python-tornadoFixed6.4.0-1ubuntu0.1UBUNTU-CVE-2024-52804
Ubuntu 22.04python-tornadoFix pending6.1.0-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-52804
Ubuntu 20.04python-tornadoFix pending6.0.3+really5.1.1-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-52804
Ubuntu 18.04python-tornadoFix pending4.5.3-1ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-52804
Debian 14python-tornadoFixed6.4.2-1DEBIAN-CVE-2024-52804
Debian 13python-tornadoFixed6.4.2-1DEBIAN-CVE-2024-52804
Debian 12python-tornadoFixed6.2.0-3+deb12u1DEBIAN-CVE-2024-52804
Red Hat Enterprise Linux 10cockpit-ha-clusterNot affected
Red Hat Enterprise Linux 10pcsNot affected
Red Hat Enterprise Linux 10pcs-snmpNot affected
Red Hat Enterprise Linux 9pcsFixed0:0.11.8-1.el9_5.2RHSA-2025:2471
Red Hat Enterprise Linux 9pcs-snmpFixed0:0.11.8-1.el9_5.2RHSA-2025:2471
Red Hat Enterprise Linux 9python-tornadoFixed0:6.4.2-1.el9_5RHSA-2024:10590
Red Hat Enterprise Linux 9python3-tornadoFixed0:6.4.2-1.el9_5RHSA-2024:10590
Red Hat Enterprise Linux 8pcsFixed0:0.10.18-2.el8_10.4RHSA-2025:2872
Red Hat Enterprise Linux 8pcs-snmpFixed0:0.10.18-2.el8_10.4RHSA-2025:2872
Red Hat Enterprise Linux 7python-tornadoWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-tornado-docWill not fix
Out of support scope
AlmaLinux 9python3-tornadoFixed6.4.2-1.el9_5ALSA-2024:10590
AlmaLinux 8pcsFixed0.10.18-2.el8_10.4.alma.1ALSA-2025:2872
AlmaLinux 8pcs-snmpFixed0.10.18-2.el8_10.4.alma.1ALSA-2025:2872
Rocky Linux 9pcsFixed0:0.11.8-1.el9_5.2RLSA-2025:2471
Rocky Linux 9python-tornadoFixed0:6.4.2-1.el9_5RLSA-2024:10590
Rocky Linux 8pcsFixed0:0.10.18-2.el8_10.4RLSA-2025:2872
PyPI librarytornadoFixed6.4.2PYSEC-2026-1975

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.