Name | CVE-2022-21716 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2938-1, ELA-575-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
twisted (PTS) | jessie, jessie (lts) | 14.0.2-3+deb8u6 | fixed |
stretch (security) | 16.6.0-2+deb9u3 | fixed | |
stretch (lts), stretch | 16.6.0-2+deb9u5 | fixed | |
buster, buster (lts) | 18.9.0-3+deb10u3 | fixed | |
buster (security) | 18.9.0-3+deb10u2 | fixed | |
bullseye | 20.3.0-7+deb11u1 | fixed | |
bullseye (security) | 20.3.0-7+deb11u2 | fixed | |
bookworm (security), bookworm | 22.4.0-4+deb12u1 | fixed | |
sid, trixie | 24.11.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
twisted | source | jessie | 14.0.2-3+deb8u4 | ELA-575-1 | ||
twisted | source | stretch | 16.6.0-2+deb9u2 | DLA-2938-1 | ||
twisted | source | buster | 18.9.0-3+deb10u1 | |||
twisted | source | bullseye | 20.3.0-7+deb11u1 | |||
twisted | source | (unstable) | 22.2.0-1 |
https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx
https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1
https://twistedmatrix.com/trac/ticket/10284