CVE-2022-21716: debian debian_linux Classic Buffer Overflow
Vulnerability summary
CVE-2022-21716 is a high (CVSS 7.5) Classic Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 3.51% chance of exploitation in the next 30 days, higher than 89% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 5 · Related 2Timeline
- 03-03-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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 metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
3.51%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
0.00 pp
From 3.51% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundTwisted
Maturity: poc
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Suse18 products
- python-Twisted&distro=HPE Helion OpenStack 8< 15.2.1-9.17.1
- python-Twisted&distro=SUSE Enterprise Storage 7< 19.10.0-150200.3.12.1
- python-Twisted&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 19.10.0-150200.3.12.1
- python-Twisted&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 19.10.0-150200.3.12.1
- python-Twisted&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3< 19.10.0-150200.3.12.1
Debian2 products
- twisted< 16.6.0-2+deb9u2 | < 22.2.0-1
- debian_linuxEOL9.0
Opensuse2 products
- python-Twisted&distro=openSUSE Leap 15.3< 19.10.0-150200.3.12.1
- python-Twisted&distro=openSUSE Leap 15.4< 19.10.0-150200.3.12.1 | < 22.2.0-150400.5.4.1
Oracle2 products
- http_server12.2.1.3.0 | 12.2.1.4.0
- zfs_storage_appliance_kit8.8
Fedoraproject1 product
- fedoraEOL35 | 36
PyPI1 product
- twisted< 89c395ee794e85a9657b112c4351417850330ef9 | ≥ 21.7.0, < 22.2.0
Twisted1 product
- twisted< 22.2.0 | ≥ 21.7.0, < 22.2.0
Ubuntu1 product
- twisted< 17.9.0-2ubuntu0.3 | < 18.9.0-11ubuntu0.20.04.2 | < 13.2.0-1ubuntu1.2+esm2 | < 16.0.0-1ubuntu0.4+esm1 | < 22.1.0-2ubuntu2.1
8 vendors · 28 products
References
27 links- github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgxWEBAdvisoryREPORTExploitPatchThird Party Advisory
- github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9WEBFIXREPORTPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 27 references
- github.com/twisted/twistedPACKAGE