{"id":"ALPINE-CVE-2022-21716","details":"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 \u003c /dev/zero`. A patch is available in version 22.2.0. There are currently no known workarounds.","modified":"2026-11-03T07:30:18.113508335Z","published":"2022-03-03T21:15:07.747Z","upstream":["CVE-2022-21716"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-21716"}],"affected":[{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}},{"package":{"name":"py3-twisted","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/py3-twisted?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-21716.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}