{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-21716","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","dateUpdated":"2025-04-22T18:21:08.759Z","dateReserved":"2021-11-16T00:00:00.000Z","datePublished":"2022-03-03T00:00:00.000Z"},"containers":{"cna":{"title":"Buffer Overflow in Twisted","providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-01-11T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"twisted","product":"twisted","versions":[{"version":"< 22.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx"},{"url":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9"},{"url":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0"},{"url":"https://twistedmatrix.com/trac/ticket/10284"},{"name":"[debian-lts-announce] 20220308 [SECURITY] [DLA 2938-1] twisted security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"name":"FEDORA-2022-71b66d4747","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/"},{"name":"FEDORA-2022-9a489fa494","tags":["vendor-advisory"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/"},{"name":"GLSA-202301-02","tags":["vendor-advisory"],"url":"https://security.gentoo.org/glsa/202301-02"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","cweId":"CWE-120"}]}],"source":{"advisory":"GHSA-rv6r-3f5q-9rgx","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T02:53:34.846Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx","tags":["x_transferred"]},{"url":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9","tags":["x_transferred"]},{"url":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0","tags":["x_transferred"]},{"url":"https://twistedmatrix.com/trac/ticket/10284","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20220308 [SECURITY] [DLA 2938-1] twisted security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred"]},{"name":"FEDORA-2022-71b66d4747","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/"},{"name":"FEDORA-2022-9a489fa494","tags":["vendor-advisory","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/"},{"name":"GLSA-202301-02","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202301-02"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:42:00.960323Z","id":"CVE-2022-21716","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-22T18:21:08.759Z"}}]}}