Inadequate file size control In tornado
Description
Tornado vulnerable to excessive logging caused by malformed multipart form data
Summary
When Tornado's multipart/form-data parser encounters certain errors, it logs a warning but continues trying to parse the remainder of the data. This allows remote attackers to generate an extremely high volume of logs, constituting a DoS attack. This DoS is compounded by the fact that the logging subsystem is synchronous.
Affected versions
All versions of Tornado prior to 6.5 are affected. The vulnerable parser is enabled by default.
Solution
Upgrade to Tornado version 6.5. In the meantime, risk can be mitigated by blocking Content-Type: multipart/form-data in a proxy.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 6.2.0-3+deb12u2 | ||
debian 14 | 6.4.2-2 | ||
debian 13 | 6.4.2-2 | ||
pypi | 6.5 | ||
rpm rhel9.4 | 0:6.4.2-1.el9_4.1 | ||
rpm rhel9 | - | - | |
rpm rhel8 | 0:0.10.18-2.el8_10.5 | ||
rpm rhel8.8 | 0:0.10.15-4.el8_8.6 | ||
rpm rhel10 | 0:6.4.2-1.el10_0.1 | ||
rpm rhel7 | - | - |
1-10 of 12
10
Aliases
References