Security mailing lists by PureSourceCode

CVE-2022-21716

HIGH 7.5CVSS 3.1

Twisted SSH client and server deny of service during SSH handshake.

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.

Published
3 Mar 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-120CWE-770
Also known as
GHSA-rv6r-3f5q-9rgxPYSEC-2022-160
Sources
NVDJSONOSV GHSA-rv6r-3f5q-9rgxJSONOSV PYSEC-2022-160JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD twisted twisted
cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*
>= 21.7.0, < 22.2.0 22.2.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD oracle http_server
cpe:2.3:a:oracle:http_server:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle http_server
cpe:2.3:a:oracle:http_server:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle zfs_storage_appliance_kit
cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*
= 8.8
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV PyPI twisted >= 21.7.0, < 22.2.0 22.2.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Mar 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.