cve.bz

CVE-2022-21716

7.5 highEPSS 3.5%

High (7.5). EPSS 3.5% chance of exploitation in the next 30 days. Fixed in twisted 22.2.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.5% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)
CWEs
CWE-770, CWE-120
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rv6r-3f5q-9rgxPyPItwisted>=21.7.0 <22.2.022.2.0
PYSEC-2022-160PyPItwisted>=21.7.0 <22.2.022.2.0

References

Check your stackJSON