CVE-2022-21716

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductTwisted
PublishedMar 3, 2022
First seenMar 3, 2022
Weakness typeCWE-120CWE-120

How to fix

Affected products

ProductAffected versionsFixed in
twisted twisted21.7.0 ≤ v < 22.2.022.2.0
debian debian_linux9.0—
oracle http_server12.2.1.3.0, 12.2.1.4.0—
oracle zfs_storage_appliance_kit8.8—
fedoraproject fedora35, 36—
twistedPyPI21.7.0 ≤ v < 22.2.022.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.