{"api_version":"1","generated_at":"2026-04-22T22:50:29+00:00","cve":"CVE-2022-21716","urls":{"html":"https://cve.report/CVE-2022-21716","api":"https://cve.report/api/cve/CVE-2022-21716.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21716","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21716"},"summary":{"title":"CVE-2022-21716","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-03-03 21:15:00","updated_at":"2023-11-07 03:43:00"},"problem_types":["CWE-770"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/","name":"FEDORA-2022-9a489fa494","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: python-twisted-22.4.0-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0","name":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0","refsource":"MISC","tags":[],"title":"Release Twisted 22.2.0 · twisted/twisted · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","name":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","tags":[],"title":"Oracle Critical Patch Update Advisory - April 2022","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx","name":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx","refsource":"CONFIRM","tags":[],"title":"Twisted SSH client and server denial of service during SSH handshake. · Advisory · twisted/twisted · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/","name":"FEDORA-2022-9a489fa494","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: python-twisted-22.4.0-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202301-02","name":"GLSA-202301-02","refsource":"GENTOO","tags":[],"title":"Twisted: Multiple Vulnerabilities (GLSA 202301-02) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/","name":"FEDORA-2022-71b66d4747","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: python-twisted-22.4.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://twistedmatrix.com/trac/ticket/10284","name":"https://twistedmatrix.com/trac/ticket/10284","refsource":"MISC","tags":[],"title":"#10284 (Denial of service in SSH transport for twisted)\n     – Twisted","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html","name":"[debian-lts-announce] 20220308 [SECURITY] [DLA 2938-1] twisted security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2938-1] twisted security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/","name":"FEDORA-2022-71b66d4747","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: python-twisted-22.4.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9","name":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9","refsource":"MISC","tags":[],"title":"Update the release date. · twisted/twisted@89c395e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21716","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21716","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"http_server","cpe6":"12.2.1.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"http_server","cpe6":"12.2.1.4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"zfs_storage_appliance_kit","cpe6":"8.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"twistedmatrix","cpe5":"twisted","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21716","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"twistedmatrix","cpe5":"twisted","cpe6":"22.2.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-21716","qid":"179114","title":"Debian Security Update for twisted (DLA 2938-1)"},{"cve":"CVE-2022-21716","qid":"180874","title":"Debian Security Update for twisted (CVE-2022-21716)"},{"cve":"CVE-2022-21716","qid":"198719","title":"Ubuntu Security Notification for Twisted Vulnerabilities (USN-5354-1)"},{"cve":"CVE-2022-21716","qid":"198774","title":"Ubuntu Security Notification for Twisted Vulnerability (USN-5354-2)"},{"cve":"CVE-2022-21716","qid":"240180","title":"Red Hat Update for OpenStack Platform 16.1 (RHSA-2022:0982)"},{"cve":"CVE-2022-21716","qid":"240181","title":"Red Hat Update for OpenStack Platform 16.2 (RHSA-2022:0992)"},{"cve":"CVE-2022-21716","qid":"282889","title":"Fedora Security Update for python (FEDORA-2022-9a489fa494)"},{"cve":"CVE-2022-21716","qid":"282890","title":"Fedora Security Update for python (FEDORA-2022-71b66d4747)"},{"cve":"CVE-2022-21716","qid":"296057","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 44.113.4 Missing (bulletinapr2022)"},{"cve":"CVE-2022-21716","qid":"353965","title":"Amazon Linux Security Advisory for python-twisted-conch : ALAS-2022-1592"},{"cve":"CVE-2022-21716","qid":"354290","title":"Amazon Linux Security Advisory for python-twisted : ALAS2022-2022-231"},{"cve":"CVE-2022-21716","qid":"354525","title":"Amazon Linux Security Advisory for python-twisted : ALAS2022-2022-046"},{"cve":"CVE-2022-21716","qid":"354583","title":"Amazon Linux Security Advisory for python-twisted : ALAS-2022-231"},{"cve":"CVE-2022-21716","qid":"355118","title":"Amazon Linux Security Advisory for python-twisted : ALAS2023-2023-056"},{"cve":"CVE-2022-21716","qid":"502347","title":"Alpine Linux Security Update for py3-twisted"},{"cve":"CVE-2022-21716","qid":"710703","title":"Gentoo Linux Twisted Multiple Vulnerabilities (GLSA 202301-02)"},{"cve":"CVE-2022-21716","qid":"752235","title":"SUSE Enterprise Linux Security Update for python-Twisted (SUSE-SU-2022:2070-1)"},{"cve":"CVE-2022-21716","qid":"753149","title":"SUSE Enterprise Linux Security Update for python-Twisted (SUSE-SU-2022:2297-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21716","STATE":"PUBLIC","TITLE":"Buffer Overflow in Twisted"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"twisted","version":{"version_data":[{"version_value":"< 22.2.0"}]}}]},"vendor_name":"twisted"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}]},"references":{"reference_data":[{"name":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx","refsource":"CONFIRM","url":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx"},{"name":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9","refsource":"MISC","url":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9"},{"name":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0","refsource":"MISC","url":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0"},{"name":"https://twistedmatrix.com/trac/ticket/10284","refsource":"MISC","url":"https://twistedmatrix.com/trac/ticket/10284"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220308 [SECURITY] [DLA 2938-1] twisted security update","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","name":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"refsource":"FEDORA","name":"FEDORA-2022-71b66d4747","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6/"},{"refsource":"FEDORA","name":"FEDORA-2022-9a489fa494","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K/"},{"refsource":"GENTOO","name":"GLSA-202301-02","url":"https://security.gentoo.org/glsa/202301-02"}]},"source":{"advisory":"GHSA-rv6r-3f5q-9rgx","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-03-03 21:15:00","lastModifiedDate":"2023-11-07 03:43:00","problem_types":["CWE-770"],"metrics":{"baseMetricV3":{"cvssV3":{"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"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:twistedmatrix:twisted:*:*:*:*:*:*:*:*","versionStartIncluding":"21.7.0","versionEndExcluding":"22.2.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21716","Ordinal":"221468","Title":"CVE-2022-21716","CVE":"CVE-2022-21716","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21716","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}