p PatchFirst

CVE-2022-21716

CVE-2022-21716 · Buffer Overflow in Twisted

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 3.5% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • twisted

    Versions
    • < 22.2.0: Affected

    No fix published

  • twisted Debian:12

    Affected ranges
    • ECOSYSTEM: < 22.2.0-1

    Update to 22.2.0-1

  • twisted Debian:13

    Affected ranges
    • ECOSYSTEM: < 22.2.0-1

    Update to 22.2.0-1

  • twisted Debian:14

    Affected ranges
    • ECOSYSTEM: < 22.2.0-1

    Update to 22.2.0-1

  • twisted PyPI

    Versions
    • 21.7.0
    • 22.1.0
    • 22.1.0rc1
    • 22.2.0rc1
    Affected ranges
    • ECOSYSTEM: ≥ 21.7.0, < 22.2.0

    Update to 22.2.0

  • twisted PyPI

    Versions
    • 21.7.0
    • 22.1.0
    • 22.1.0rc1
    • 22.2.0rc1
    Affected ranges
    • GIT: < 89c395ee794e85a9657b112c4351417850330ef9
    • ECOSYSTEM: ≥ 21.7.0, < 22.2.0

    Update to 22.2.0

  • twisted Ubuntu:Pro:14.04:LTS

    Versions
    • 13.0.0-1ubuntu1
    • 13.2.0-1ubuntu1
    • 13.2.0-1ubuntu1.2
    • 13.2.0-1ubuntu1.2+esm1
    Affected ranges
    • ECOSYSTEM: < 13.2.0-1ubuntu1.2+esm2

    Update to 13.2.0-1ubuntu1.2+esm2

  • twisted Ubuntu:Pro:16.04:LTS

    Versions
    • 15.2.1-1ubuntu2
    • 15.5.0-1
    • 15.5.0-2
    • 15.5.0-2ubuntu1
    • 15.5.0-4
    • 16.0.0~pre1-1
    • 16.0.0~pre1-1ubuntu1
    • 16.0.0~pre1-2ubuntu1
    • 16.0.0~pre1-3
    • 16.0.0-1
    • 16.0.0-1ubuntu0.2
    • 16.0.0-1ubuntu0.4
    Affected ranges
    • ECOSYSTEM: < 16.0.0-1ubuntu0.4+esm1

    Update to 16.0.0-1ubuntu0.4+esm1

  • twisted Ubuntu:18.04:LTS

    Versions
    • 16.6.0-2ubuntu3
    • 17.9.0-1
    • 17.9.0-2
    • 17.9.0-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 17.9.0-2ubuntu0.3

    Update to 17.9.0-2ubuntu0.3

  • twisted Ubuntu:20.04:LTS

    Versions
    • 18.9.0-3ubuntu1
    • 18.9.0-5
    • 18.9.0-6
    • 18.9.0-6build1
    • 18.9.0-6ubuntu1
    • 18.9.0-8
    • 18.9.0-11
    • 18.9.0-11ubuntu0.20.04.1
    Affected ranges
    • ECOSYSTEM: < 18.9.0-11ubuntu0.20.04.2

    Update to 18.9.0-11ubuntu0.20.04.2

  • twisted Ubuntu:22.04:LTS

    Versions
    • 20.3.0-7ubuntu1
    • 20.3.0-7ubuntu3
    • 22.1.0-2ubuntu2
    Affected ranges
    • ECOSYSTEM: < 22.1.0-2ubuntu2.1

    Update to 22.1.0-2ubuntu2.1

Original sources

Check your server →