CVE catalog

CVE-2022-21716

twisted: CVE-2022-21716

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantwistedsid26.4.0-6fixed
Debiantwistedforky26.4.0-6fixed
Debiantwistedtrixie24.11.0-1fixed
Debiantwistedbookworm22.4.0-4+deb12u1fixed
Debiantwistedbookworm-security22.4.0-4+deb12u1fixed
Ubuntutwistedpro15.2.1-1ubuntu2vulnerable
Ubuntutwistedpro15.5.0-1vulnerable
Ubuntutwistedpro15.5.0-2vulnerable
Ubuntutwistedpro15.5.0-2ubuntu1vulnerable
Ubuntutwistedpro15.5.0-4vulnerable
Ubuntutwistedpro16.0.0~pre1-1vulnerable
Ubuntutwistedpro16.0.0~pre1-1ubuntu1vulnerable
Ubuntutwistedpro16.0.0~pre1-2ubuntu1vulnerable
Ubuntutwistedpro16.0.0~pre1-3vulnerable
Ubuntutwistedpro16.0.0-1vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.2vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.4vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.4+esm1fixed
Ubuntutwisted22.0420.3.0-7ubuntu1vulnerable
Ubuntutwisted22.0420.3.0-7ubuntu3vulnerable
Ubuntutwisted22.0422.1.0-2ubuntu2vulnerable
Ubuntutwisted22.0422.1.0-2ubuntu2.1fixed
Opensusepython-Twistedtumbleweed22.2.0-1.1fixed
Susepython-Twistedhpe helion openstack 815.2.1-9.17.1fixed
Susepython-Twistedopenstack cloud 815.2.1-9.17.1fixed
Susepython-Twistedopenstack cloud 915.2.1-9.17.1fixed
Susepython-Twistedopenstack cloud crowbar 815.2.1-9.17.1fixed
Susepython-Twistedopenstack cloud crowbar 915.2.1-9.17.1fixed
Susepython-Twistedlinux enterprise module for web and scripting 1215.2.1-9.17.1fixed
Susepython-Twistedlinux enterprise module for package hub 15 sp319.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise module for server applications 15 sp319.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise high performance computing 15 sp2-espos19.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise high performance computing 15 sp2-ltss19.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise server 15 sp2-bcl19.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise server 15 sp2-ltss19.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise server for sap applications 15 sp219.10.0-150200.3.12.1fixed
Susepython-Twistedmanager proxy 4.119.10.0-150200.3.12.1fixed
Susepython-Twistedmanager retail branch server 4.119.10.0-150200.3.12.1fixed
Susepython-Twistedmanager server 4.119.10.0-150200.3.12.1fixed
Susepython-Twistedenterprise storage 719.10.0-150200.3.12.1fixed
Opensusepython-Twistedleap 15.319.10.0-150200.3.12.1fixed
Opensusepython-Twistedleap 15.419.10.0-150200.3.12.1fixed
Susepython-Twistedlinux enterprise module for server applications 15 sp422.2.0-150400.5.4.1fixed
Opensusepython-Twistedleap 15.422.2.0-150400.5.4.1fixed
Ubuntutwistedpro15.2.1-1ubuntu2vulnerable
Ubuntutwistedpro15.5.0-1vulnerable
Ubuntutwistedpro15.5.0-2vulnerable
Ubuntutwistedpro15.5.0-2ubuntu1vulnerable
Ubuntutwistedpro15.5.0-4vulnerable
Ubuntutwistedpro16.0.0~pre1-1vulnerable
Ubuntutwistedpro16.0.0~pre1-1ubuntu1vulnerable
Ubuntutwistedpro16.0.0~pre1-2ubuntu1vulnerable
Ubuntutwistedpro16.0.0~pre1-3vulnerable
Ubuntutwistedpro16.0.0-1vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.2vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.4vulnerable
Ubuntutwistedpro16.0.0-1ubuntu0.4+esm1fixed
Ubuntutwisted18.0416.6.0-2ubuntu3vulnerable
Ubuntutwisted18.0417.9.0-1vulnerable
Ubuntutwisted18.0417.9.0-2vulnerable
Ubuntutwisted18.0417.9.0-2ubuntu0.1vulnerable
Ubuntutwisted18.0417.9.0-2ubuntu0.3fixed
Ubuntutwisted20.0418.9.0-3ubuntu1vulnerable
Ubuntutwisted20.0418.9.0-5vulnerable
Ubuntutwisted20.0418.9.0-6vulnerable
Ubuntutwisted20.0418.9.0-6build1vulnerable
Ubuntutwisted20.0418.9.0-6ubuntu1vulnerable
Ubuntutwisted20.0418.9.0-8vulnerable
Ubuntutwisted20.0418.9.0-11vulnerable
Ubuntutwisted20.0418.9.0-11ubuntu0.20.04.1vulnerable
Ubuntutwisted20.0418.9.0-11ubuntu0.20.04.2fixed
Ubuntutwisted22.0420.3.0-7ubuntu1vulnerable
Ubuntutwisted22.0420.3.0-7ubuntu3vulnerable
Ubuntutwisted22.0422.1.0-2ubuntu2vulnerable
Ubuntutwisted22.0422.1.0-2ubuntu2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantwistedsourcesid22.2.0-1not yet assignedNot reportedNot reported
Debiantwistedsourceforky22.2.0-1not yet assignedNot reportedNot reported
Debiantwistedsourcetrixie22.2.0-1not yet assignedNot reportedNot reported
Debiantwistedsourcebookworm22.2.0-1not yet assignedNot reportedNot reported
Ubuntutwisteddebpro16.0.0-1ubuntu0.4+esm1Not reportedUSN-5354-2Not reported
Ubuntutwisteddeb22.0422.1.0-2ubuntu2.1Not reportedUSN-5354-2Not reported
Opensusepython-Twistedrpmtumbleweed22.2.0-1.1Not reportedOPENSUSE-SU-2024:11978-1Not reported
Susepython-Twistedrpmhpe helion openstack 815.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmopenstack cloud 815.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmopenstack cloud 915.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmopenstack cloud crowbar 815.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmopenstack cloud crowbar 915.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmlinux enterprise module for web and scripting 1215.2.1-9.17.1Not reportedSUSE-SU-2022:2117-1Not reported
Susepython-Twistedrpmlinux enterprise module for package hub 15 sp319.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise module for server applications 15 sp319.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise high performance computing 15 sp2-espos19.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise high performance computing 15 sp2-ltss19.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise server 15 sp2-bcl19.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise server 15 sp2-ltss19.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise server for sap applications 15 sp219.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmmanager proxy 4.119.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmmanager retail branch server 4.119.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmmanager server 4.119.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmenterprise storage 719.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Opensusepython-Twistedrpmleap 15.319.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Opensusepython-Twistedrpmleap 15.419.10.0-150200.3.12.1Not reportedSUSE-SU-2022:2070-1Not reported
Susepython-Twistedrpmlinux enterprise module for server applications 15 sp422.2.0-150400.5.4.1Not reportedSUSE-SU-2022:2297-1Not reported
Opensusepython-Twistedrpmleap 15.422.2.0-150400.5.4.1Not reportedSUSE-SU-2022:2297-1Not reported
Ubuntutwisteddebpro16.0.0-1ubuntu0.4+esm1Not reportedUBUNTU-CVE-2022-21716Not reported
Ubuntutwisteddeb18.0417.9.0-2ubuntu0.3Not reportedUBUNTU-CVE-2022-21716Not reported
Ubuntutwisteddeb20.0418.9.0-11ubuntu0.20.04.2Not reportedUBUNTU-CVE-2022-21716Not reported
Ubuntutwisteddeb22.0422.1.0-2ubuntu2.1Not reportedUBUNTU-CVE-2022-21716Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

  • Source package: [python-Twisted]

    Details (1)
    • 26.4.0-3.3 · noarch · tumbleweed

      Unknown · Fixed: 22.2.0-1.1

      Version impact unknown

      dsa · python-Twisted · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [twisted]

    Details (4)
    • 22.4.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

  • Source package: [twisted]

    Details (4)
    • 22.4.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

    • 22.4.0-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 22.2.0-1

      dsa · twisted · debian · bookworm

Observed:

References