{"cve":"CVE-2022-21716","nvd":{"published":"2022-03-03T21:15:07.747","modified":"2026-06-17T04:26:50.780","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-120"],"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/"],"products":["debian:debian_linux","fedoraproject:fedora","oracle:http_server","oracle:zfs_storage_appliance_kit","twisted:twisted"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-21716","score":0.0351,"percentile":0.892,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rv6r-3f5q-9rgx","url":"https://osv.dev/vulnerability/GHSA-rv6r-3f5q-9rgx","summary":"Twisted SSH client and server deny of service during SSH handshake.","modified":"2024-11-25T18:48:42.597453Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":[">=21.7.0 <22.2.0"],"fixed":["22.2.0"]}]},{"id":"PYSEC-2022-160","url":"https://osv.dev/vulnerability/PYSEC-2022-160","summary":"","modified":"2023-11-08T04:08:09.232676Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":[">=21.7.0 <22.2.0"],"fixed":["22.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}