High severity · published Mar 3, 2022
CVE-2022-21716
Twisted is an event-based framework for internet applications, supporting Python 3.6+
7.5
CVSS
3.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.5% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0 · source: NVD
FE
Fedora · Fedoraproject
35; 36 · source: NVD
HS
Http Server · Oracle
12.2.1.3.0; 12.2.1.4.0 · source: NVD
TW
Twisted · Twisted
21.7.0 before 22.2.0 · source: NVD
ZS
Zfs Storage Appliance Kit · Oracle
8.8 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21716
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21716
Patch
https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9
Release Notes
https://github.com/twisted/twisted/releases/tag/twisted-22.2.0
Exploit
https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx
Mailing List
https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
