Loading advisory.
Loading advisory.
Twisted SSH client and server deny of service during SSH handshake.
The Twisted SSH client and server implementation naively accepted an infinite amount of data for the peer's SSH version identifier.
Published 2022-03-03 00:00 UTC · Modified 2025-04-22 18:21 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| twisted | PyPI | >= 21.7.0, < 22.2.0 git commits in https://github.com/twisted/twisted: < 89c395ee794e85a9657b112c4351417850330ef9 versions 21.7.0, 22.1.0, 22.1.0rc1, 22.2.0rc1 | 22.2.0, 89c395ee794e85a9657b112c4351417850330ef9 | pip install --upgrade 'twisted>=22.2.0'pip install --upgrade 'twisted>=89c395ee794e85a9657b112c4351417850330ef9' |
The Twisted SSH client and server implementation naively accepted an infinite amount of data for the peer's SSH version identifier.
A malicious peer can trivially craft a request that uses all available memory and crash the server, resulting in denial of service. The attack is as simple as nc -rv localhost 22 < /dev/zero.
The issue was fix in GitHub commit https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1
A fix is available in Twisted 22.2.0.
Limit access to the SSH server only to trusted source IP addresses.
Connect over SSH only to trusted destination IP addresses.
Reported at https://twistedmatrix.com/trac/ticket/10284 Discussions at https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx
Found by vin01
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.035 on 2026-11-24 to 0.032 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.035 | first score | v2026.06.15 |
| 2026-11-26 | 0.032 | 0.035 | v2026.06.15 |