Files
meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.4.2.bb
T
Sudhir Dumbhare 85aa67fa07 python3-tornado: Fix CVE-2026-31958
This patch applies the upstream fix as referenced in [2], which addresses a Tornado flaw where
crafted multipart/form-data requests can trigger excessive synchronous parsing and cause
denial of service using the commit shown in [1].

[1] https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839
[2] https://security-tracker.debian.org/tracker/CVE-2026-31958

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-31958

Signed-off-by: Sudhir Dumbhare <sudumbha@cisco.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2026-06-09 11:37:19 +05:30

51 lines
1.5 KiB
BlitzBasic

SUMMARY = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
DESCRIPTION = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. \
By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long \
polling, WebSockets, and other applications that require a long-lived connection to each user."
HOMEPAGE = "http://www.tornadoweb.org/en/stable/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI[sha256sum] = "92bad5b4746e9879fd7bf1eb21dce4e3fc5128d71601f80005afa39237ad620b"
SRC_URI += "file://CVE-2025-47287.patch \
file://CVE-2025-67724.patch \
file://CVE-2025-67726.patch \
file://CVE-2026-35536.patch \
file://CVE-2026-31958.patch \
"
inherit pypi python_setuptools_build_meta
# Requires _compression which is currently located in misc
RDEPENDS:${PN} += " \
python3-asyncio \
python3-certifi \
python3-compression \
python3-ctypes \
python3-email \
python3-html \
python3-json \
python3-misc \
python3-multiprocessing \
python3-numbers \
python3-pkgutil \
python3-pycurl \
python3-threading \
python3-unittest \
"
RDEPENDS:${PN}-test += "python3-unittest"
PACKAGES =+ "\
${PN}-test \
"
FILES:${PN}-test = " \
${PYTHON_SITEPACKAGES_DIR}/*/test \
"
CVE_PRODUCT = "tornadoweb:tornado"
BBCLASSEXTEND += "native nativesdk"