Asymmetric denial of service - ReDoS In tornado
Description
Tornado is vulnerable to DoS due to too many multipart parts
In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts.
Tornado 6.5.5 introduces new limits on the size and complexity of multipart bodies, including a default limit of 100 parts per request. These limits are configurable if needed; see tornado.httputil.ParseMultipartConfig. It is also now possible to disable multipart/form-data parsing entirely if it is not required for the application.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
rpm rhel8 | 0:0.10.18-2.el8_10.9 | ||
rpm rhel9 | - | - | |
debian 14 | 6.5.5-1 | ||
pypi | 6.5.5 | ||
rpm rhel10 | 0:6.5.5-1.el10_2 | ||
debian 13 | - | ||
rpm rhel7 | - | - | |
rpm rhel9 | 0:6.5.5-1.el9_8 | ||
rpm rhel9.6 | 0:6.4.2-2.el9_6.3 |
1-10 of 15
10
Aliases
References