CVE-2022-21716
Buffer Overflow in Twisted
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:NIntegrityNone
A:HAvailabilityHigh
Weaknesses
Affected Products
oracle
commercial·USaka oracle corp.
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
twisted
oss-projectaka twisted python
twistedLibrary
OSS Libraries / pypidebian
oss-project·GBaka debian gnu/linux
fedoraproject
oss-project·USaka fedora project
PyPI
package-ecosystem
and 5 more affected products View all →
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
3 techniques Impact
Initial Access
Privilege Escalation
References
https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9
github.com
https://github.com/twisted/twisted/releases/tag/twisted-22.2.0
github.com
https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx
github.com
and 23 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2022-21716 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
