This fixes the following CVE:
- CVE-2025-47287: When Tornado's ``multipart/form-data`` parser encounters
certain errors, it logs a warning but continues trying to
parse the remainder of the data. This allows remote
attackers to generate an extremely high volume of logs,
constituting a DoS attack.
Fixes:
https://www.cve.org/CVERecord?id=CVE-2025-47287
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
[Julien: reword commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 4c890bc46d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
20 lines
735 B
Makefile
20 lines
735 B
Makefile
################################################################################
|
|
#
|
|
# python-tornado
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_TORNADO_VERSION = 6.4.2
|
|
PYTHON_TORNADO_SOURCE = tornado-$(PYTHON_TORNADO_VERSION).tar.gz
|
|
PYTHON_TORNADO_SITE = https://files.pythonhosted.org/packages/59/45/a0daf161f7d6f36c3ea5fc0c2de619746cc3dd4c76402e9db545bd920f63
|
|
PYTHON_TORNADO_LICENSE = Apache-2.0
|
|
PYTHON_TORNADO_LICENSE_FILES = LICENSE
|
|
PYTHON_TORNADO_CPE_ID_VENDOR = tornadoweb
|
|
PYTHON_TORNADO_CPE_ID_PRODUCT = tornado
|
|
PYTHON_TORNADO_SETUP_TYPE = setuptools
|
|
|
|
# 0001-httputil-raise-errors-instead-of-logging-in.patch
|
|
PYTHON_TORNADO_IGNORE_CVES += CVE-2025-47287
|
|
|
|
$(eval $(python-package))
|