Improper resource allocation In py3-tornado
Description
Tornado is a Python web framework and asynchronous networking library. In versions 6.5.2 and below, a single maliciously crafted HTTP request can block the server's event loop for an extended period, caused by the HTTPHeaders.add method. The function accumulates values using string concatenation when the same header name is repeated, causing a Denial of Service (DoS). Due to Python string immutability, each concatenation copies the entire string, resulting in O(n²) time complexity. The severity can vary from high if max_header_size has been increased from its default, to low if it has its default value of 64KB. This issue is fixed in version 6.5.3.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 6.2.0-3+deb12u4 | ||
debian 13 | 6.4.2-3+deb13u2 | ||
debian 14 | 6.5.4-0.1 | ||
rpm rhel8 | 0:0.10.18-2.el8_10.8 | ||
rpm rhel8.4 | 0:0.10.8-1.el8_4.10 | ||
rpm rhel9 | - | - | |
pypi | 6.5.3 | ||
alpine v3.24 | 6.5.4-r0 | ||
alpine v3.23 | 6.5.4-r0 |
Aliases
References