CVE-2022-21716

Source
https://cve.org/CVERecord?id=CVE-2022-21716
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21716.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21716
Aliases
Downstream
Related
Published
2022-03-03T00:00:00Z
Modified
2026-02-05T08:03:11.657717Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Buffer Overflow in Twisted
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 < /dev/zero. A patch is available in version 22.2.0. There are currently no known workarounds.

Database specific
{
    "cwe_ids": [
        "CWE-120"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21716.json"
}
References

Affected packages

Git / github.com/twisted/twisted

Affected ranges

Type
GIT
Repo
https://github.com/twisted/twisted
Events

Affected versions

twisted-21.*
twisted-21.7.0
twisted-22.*
twisted-22.1.0
twisted-22.1.0rc1
twisted-22.2.0rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21716.json"