Vulnerability
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.
20 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2023-2023-056
Amazon Linux 2023 - ALAS2023-2023-056: Important priority package update for python-twisted
-
ALPINE-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…
- ALPINE-EDGE-CVE-2022-21716
-
DEBIAN-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…
-
DLA-2938-1
twisted - security update
-
GHSA-rv6r-3f5q-9rgx
Twisted SSH client and server deny of service during SSH handshake.
-
OESA-2023-1908
python-twisted security update
-
OESA-2023-1909
python-twisted security update
-
OESA-2023-1970
python-twisted security update
-
PYSEC-2022-160
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…
-
RHSA-2022:0982
Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (python-twisted) security update
-
RHSA-2022:0992
Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (python-twisted) security update
-
RHVEX-CVE-2022-21716
python-twisted: SSH client and server denial of service during SSH handshake
-
SUSE-SU-2022:2070-1
Security update for python-Twisted
-
SUSE-SU-2022:2117-1
Security update for python-Twisted
-
SUSE-SU-2022:2297-1
Security update for python-Twisted
-
UBUNTU-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…
-
USN-5354-1
twisted vulnerabilities
-
USN-5354-2
twisted vulnerability
-
openSUSE-SU-2024:11978-1
python-Twisted-doc-22.2.0-1.1 on GA media
References
- https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9
- https://github.com/twisted/twisted/releases/tag/twisted-22.2.0
- https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx
- https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/
- https://security.gentoo.org/glsa/202301-02
- https://twistedmatrix.com/trac/ticket/10284
- https://www.oracle.com/security-alerts/cpuapr2022.html