Skip to main content
CVE-2024-52804VulnerabilityPublished Updated

Python tornado: The algorithm used for parsing HTTP cookies in Tornado versions prior to 6.4.2 sometimes has quadratic

Affects python-tornadoSource GCVE Database

0
Compare
Authoritative record:CVE-2024-52804· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 4.5.3-1ubuntu0.2+esm1 : patch python-tornado soon.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
EPSS
1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.5.3-1ubuntu0.2+esm1, 6.0.3+really5.1.1-3ubuntu0.1~esm1, 6.1.0-3ubuntu0.1~esm1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10python-tornadopkg:deb/ubuntu/python-tornado?arch=source&distro=questingOther threatsAffected
  • <6.4.2-1
Fixed in
  • 6.4.2-1
Ubuntu 24.04 LTSpython-tornadopkg:deb/ubuntu/python-tornado?arch=source&distro=nobleOther threatsAffected
  • <6.4.0-1ubuntu0.1
Fixed in
  • 6.4.0-1ubuntu0.1
Ubuntu Pro 22.04 LTSpython-tornadopkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <6.1.0-3ubuntu0.1~esm1
Fixed in
  • 6.1.0-3ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSpython-tornadopkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/focalOther threatsAffected
  • <6.0.3+really5.1.1-3ubuntu0.1~esm1
Fixed in
  • 6.0.3+really5.1.1-3ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSpython-tornadopkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <4.5.3-1ubuntu0.2+esm1
Fixed in
  • 4.5.3-1ubuntu0.2+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…