UBUNTU-CVE-2022-21716

Source
https://ubuntu.com/security/CVE-2022-21716
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21716.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-21716
Related
Published
2022-03-03T21:15:00Z
Modified
2022-03-03T21:15:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
13.2.0-1ubuntu1.2+esm2

Affected versions

13.*

13.0.0-1ubuntu1
13.2.0-1ubuntu1
13.2.0-1ubuntu1.2
13.2.0-1ubuntu1.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-bin"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-bin-dbg"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-bin-dbgsym"
        },
        {
            "binary_version": "1:13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-conch"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-core"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-lore"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-mail"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-names"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-news"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-runner"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-runner-dbg"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-runner-dbgsym"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-web"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "python-twisted-words"
        },
        {
            "binary_version": "13.2.0-1ubuntu1.2+esm2",
            "binary_name": "twisted-doc"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
16.0.0-1ubuntu0.4+esm1

Affected versions

15.*

15.2.1-1ubuntu2
15.5.0-1
15.5.0-2
15.5.0-2ubuntu1
15.5.0-4

16.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-bin"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-bin-dbg"
        },
        {
            "binary_version": "1:16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-conch"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-core"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-mail"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-names"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-news"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-runner"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-runner-dbg"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-web"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python-twisted-words"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "python3-twisted"
        },
        {
            "binary_version": "16.0.0-1ubuntu0.4+esm1",
            "binary_name": "twisted-doc"
        }
    ]
}

Ubuntu:18.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
17.9.0-2ubuntu0.3

Affected versions

16.*

16.6.0-2ubuntu3

17.*

17.9.0-1
17.9.0-2
17.9.0-2ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-bin"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-bin-dbg"
        },
        {
            "binary_version": "1:17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-conch"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-core"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-mail"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-names"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-news"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-runner"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-runner-dbg"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-web"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python-twisted-words"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python3-twisted"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python3-twisted-bin"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "python3-twisted-bin-dbg"
        },
        {
            "binary_version": "17.9.0-2ubuntu0.3",
            "binary_name": "twisted-doc"
        }
    ]
}

Ubuntu:20.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
18.9.0-11ubuntu0.20.04.2

Affected versions

18.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "18.9.0-11ubuntu0.20.04.2",
            "binary_name": "python3-twisted"
        },
        {
            "binary_version": "18.9.0-11ubuntu0.20.04.2",
            "binary_name": "python3-twisted-bin"
        },
        {
            "binary_version": "18.9.0-11ubuntu0.20.04.2",
            "binary_name": "python3-twisted-bin-dbg"
        },
        {
            "binary_version": "18.9.0-11ubuntu0.20.04.2",
            "binary_name": "twisted-doc"
        }
    ]
}

Ubuntu:22.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
22.1.0-2ubuntu2.1

Affected versions

20.*

20.3.0-7ubuntu1
20.3.0-7ubuntu3

22.*

22.1.0-2ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "22.1.0-2ubuntu2.1",
            "binary_name": "python3-twisted"
        },
        {
            "binary_version": "22.1.0-2ubuntu2.1",
            "binary_name": "twisted-doc"
        }
    ]
}