92a3ca0932
Fix CVE-2022-21716: Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 22.2.0, Twisted SSH client and server implement is able to accept an infinite amount of data for the peer's SSH version identifier. This ends up with a buffer using all the available memory. The attach is a simple as `nc -rv localhost 22 < /dev/zero`. A patch is available in version 22.2.0. There are currently no known workarounds. https://github.com/twisted/twisted/releases/tag/twisted-22.2.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
18 lines
702 B
Makefile
18 lines
702 B
Makefile
################################################################################
|
|
#
|
|
# python-twisted
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_TWISTED_VERSION = 22.2.0
|
|
PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz
|
|
PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46
|
|
PYTHON_TWISTED_SETUP_TYPE = setuptools
|
|
PYTHON_TWISTED_LICENSE = MIT
|
|
PYTHON_TWISTED_LICENSE_FILES = LICENSE
|
|
PYTHON_TWISTED_CPE_ID_VENDOR = twistedmatrix
|
|
PYTHON_TWISTED_CPE_ID_PRODUCT = twisted
|
|
PYTHON_TWISTED_DEPENDENCIES = python-incremental host-python-incremental
|
|
|
|
$(eval $(python-package))
|