Thomas Perale 9a4cee3b33 package/python-tornado: patch CVE-2025-67724, CVE-2025-67725, CVE-2025-67726
Fixes the following vulnerabilities:

- CVE-2025-67724:
    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.

For more information, see:
 - https://www.cve.org/CVERecord?id=CVE-2025-67724
 - 9c163aebea

- CVE-2025-67725:
    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.

For more information, see:
  - https://www.cve.org/CVERecord?id=CVE-2025-67725
  - 771472cfda

- CVE-2025-67726:
    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(n²)) 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.

For more information, see:
  - https://www.cve.org/CVERecord?id=CVE-2025-67726
  - 771472cfda

(cherry picked from commit e59cc42d2f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-03-27 10:57:17 +01:00
2025-01-15 21:30:31 +01:00
2026-03-17 20:42:57 +01:00
2026-03-17 20:48:33 +01:00
2026-01-15 09:36:08 +01:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at https://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches
Description
No description provided
Readme 206 MiB
Languages
Makefile 62.5%
Python 19%
C 8.5%
Shell 6.1%
PHP 1.4%
Other 2.1%