Debian DLA-2991-1 : twisted - LTS security update

high Nessus Plugin ID 160979

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2991 advisory.

- Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to version 22.4.0rc1, the Twisted Web HTTP 1.1 server, located in the `twisted.web.http` module, parsed several HTTP request constructs more leniently than permitted by RFC 7230. This non-conformant parsing can lead to desync if requests pass through multiple HTTP parsers, potentially resulting in HTTP request smuggling.
Users who may be affected use Twisted Web's HTTP 1.1 server and/or proxy and also pass requests through a different HTTP server and/or proxy. The Twisted Web client is not affected. The HTTP 2.0 server uses a different parser, so it is not affected. The issue has been addressed in Twisted 22.4.0rc1. Two workarounds are available: Ensure any vulnerabilities in upstream proxies have been addressed, such as by upgrading them; or filter malformed requests by other means, such as configuration of an upstream proxy.
(CVE-2022-24801)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the twisted packages.

For Debian 9 stretch, this problem has been fixed in version 16.6.0-2+deb9u3.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009030

https://security-tracker.debian.org/tracker/source-package/twisted

https://www.debian.org/lts/security/2022/dla-2991

https://security-tracker.debian.org/tracker/CVE-2022-24801

https://packages.debian.org/source/stretch/twisted

Plugin Details

Severity: High

ID: 160979

File Name: debian_DLA-2991.nasl

Version: 1.2

Type: local

Agent: unix

Published: 5/11/2022

Updated: 5/11/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24801

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-twisted-web, p-cpe:/a:debian:debian_linux:python-twisted, p-cpe:/a:debian:debian_linux:python-twisted-runner-dbg, p-cpe:/a:debian:debian_linux:python-twisted-mail, p-cpe:/a:debian:debian_linux:python-twisted-words, p-cpe:/a:debian:debian_linux:python3-twisted, p-cpe:/a:debian:debian_linux:python-twisted-runner, p-cpe:/a:debian:debian_linux:python-twisted-core, p-cpe:/a:debian:debian_linux:python-twisted-news, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:python-twisted-bin-dbg, p-cpe:/a:debian:debian_linux:python-twisted-conch, p-cpe:/a:debian:debian_linux:python-twisted-names, p-cpe:/a:debian:debian_linux:python3-twisted-bin-dbg, p-cpe:/a:debian:debian_linux:twisted-doc, p-cpe:/a:debian:debian_linux:python-twisted-bin, p-cpe:/a:debian:debian_linux:python3-twisted-bin

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/10/2022

Vulnerability Publication Date: 4/4/2022

Reference Information

CVE: CVE-2022-24801