CVE-2024-52804Tornadoweb Tornado
High 7.5 No auth needed
Follow: this CVE · Tornadoweb · Tornadoweb Tornado We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Nov 22, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Tornado.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | tornado |
< 6.4.2 |
6.4.2 |
pip install "tornado>=6.4.2" |
| PyPI | tornado |
< 6.4.2 |
6.4.2 |
pip install "tornado>=6.4.2" |
Per OSV / GitHub Advisories (GHSA-8w49-h785-mj3c, PYSEC-2026-1975). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tornadoweb | tornado | < 6.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Not Applicable
- github.com Patch
- github.com Third Party Advisory
- lists.debian.org