Amazon Linux 2 Security Advisory: ALAS2-2025-3106
Advisory Released Date: 2026-01-05
Advisory Updated Date: 2026-01-05
FAQs regarding Amazon Linux ALAS/CVE Severity
Tornado is a Python web framework and asynchronous networking library. In versions 6.5.2 and below, the supplied reason phrase is used unescaped in HTTP headers (where it could be used for header injection) or in HTML in the default error page (where it could be used for XSS) and can be exploited by passing untrusted or malicious data into the reason argument. Used by both RequestHandler.set_status and tornado.web.HTTPError, the argument is designed to allow applications to pass custom "reason" phrases (the "Not Found" in HTTP/1.1 404 Not Found) to the HTTP status line (mainly for non-standard status codes). This issue is fixed in version 6.5.3. (CVE-2025-67724)
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(n2) 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. (CVE-2025-67725)
Tornado is a Python web framework and asynchronous networking library. Versions 6.5.2 and below use an inefficient algorithm when parsing parameters for HTTP header values, potentially causing a DoS. The _parseparam function in httputil.py is used to parse specific HTTP header values, such as those in multipart/form-data and repeatedly calls string.count() within a nested loop while processing quoted semicolons. If an attacker sends a request with a large number of maliciously crafted parameters in a Content-Disposition header, the server's CPU usage increases quadratically (O(n2)) during parsing. Due to Tornado's single event loop architecture, a single malicious request can cause the entire server to become unresponsive for an extended period. This issue is fixed in version 6.5.3. (CVE-2025-67726)
Affected Packages:
python-tornado
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python-tornado or yum update --advisory ALAS2-2025-3106 to update your system.
aarch64:
python-tornado-4.2.1-3.amzn2.0.3.aarch64
python-tornado-doc-4.2.1-3.amzn2.0.3.aarch64
python-tornado-debuginfo-4.2.1-3.amzn2.0.3.aarch64
i686:
python-tornado-4.2.1-3.amzn2.0.3.i686
python-tornado-doc-4.2.1-3.amzn2.0.3.i686
python-tornado-debuginfo-4.2.1-3.amzn2.0.3.i686
src:
python-tornado-4.2.1-3.amzn2.0.3.src
x86_64:
python-tornado-4.2.1-3.amzn2.0.3.x86_64
python-tornado-doc-4.2.1-3.amzn2.0.3.x86_64
python-tornado-debuginfo-4.2.1-3.amzn2.0.3.x86_64