7.5

CVE-2022-21716: Buffer Overflow in Twisted

Modified
AliasesSUSE-SU-2022:2070-1SUSE-SU-2022:2117-1SUSE-SU-2022:2297-1
Published 03-03-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-21716 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 3.51% chance of exploitation in the next 30 days, higher than 89.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 2

Timeline

  1. 03-03-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last 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

8 scores · 6 sources · 3 versions

EPSS trend

Probability

3.51%

Chance of exploitation in the next 30 days

Percentile

90%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.51% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Twisted

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
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
Alpine1 product
  • py3-twisted< 22.2.0-r0
Fedoraproject1 product
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< 13.2.0-1ubuntu1.2+esm2 | < 16.0.0-1ubuntu0.4+esm1 | < 17.9.0-2ubuntu0.3 | < 18.9.0-11ubuntu0.20.04.2 | < 22.1.0-2ubuntu2.1

9 vendors · 29 products

References

28 links
Show all 28 references