USN-5354-1

Source
https://ubuntu.com/security/notices/USN-5354-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5354-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5354-1
Upstream
Related
Published
2022-03-30T08:17:48.914633Z
Modified
2025-10-13T04:35:51Z
Summary
twisted vulnerabilities
Details

It was discovered that Twisted incorrectly filtered HTTP headers when clients are being redirected to another origin. A remote attacker could use this issue to obtain sensitive information. (CVE-2022-21712)

It was discovered that Twisted incorrectly processed SSH handshake data on connection establishments. A remote attacker could use this issue to cause Twisted to crash, resulting in a denial of service. (CVE-2022-21716)

References

Affected packages

Ubuntu:18.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted@17.9.0-2ubuntu0.3?arch=source&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",
    "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": "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-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"
        }
    ]
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:18.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2022-21712"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2022-21716"
        }
    ]
}

Ubuntu:20.04:LTS / twisted

Package

Name
twisted
Purl
pkg:deb/ubuntu/twisted@18.9.0-11ubuntu0.20.04.2?arch=source&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",
    "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"
        }
    ]
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:20.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2022-21712"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2022-21716"
        }
    ]
}