Vulnerabilities · 2022 · Twisted
CVE-2022-21716
Twisted vulnerability
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.
Affected products
Twisted, Debian Linux, Http Server, Zfs Storage Appliance Kit, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Twisted runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- twistedmatrix.com/trac/ticket/10284 · Vendor Advisory
- github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9 · Patch
- github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx · Exploit
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- github.com/twisted/twisted/releases/tag/twisted-22.2.0 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00009.html · Third Party Advisory
- security.gentoo.org/glsa/202301-02 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- nvd.nist.gov/vuln/detail/CVE-2022-21716
- cve.org/CVERecord?id=CVE-2022-21716
More vulnerabilities in Twisted products
CVE-2024-41810CVE-2023-46137CVE-2022-39348CVE-2022-24801CVE-2022-21712CVE-2020-10109CVE-2020-10108CVE-2019-12855All 12
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.