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

critical Nessus Plugin ID 158196

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2927 advisory.

It was discovered that Twisted, a Python event-based framework for internet applications, is affected by HTTP request splitting vulnerabilities, and may expose sensitive data when following redirects. An attacker may bypass validation checks and retrieve credentials. CVE-2020-10108 HTTP request splitting vulnerability. When presented with two content-length headers, it ignored the first header. When the second content-length value was set to zero, the request body was interpreted as a pipelined request.
CVE-2020-10109 HTTP request splitting vulnerability. When presented with a content-length and a chunked encoding header, the content-length took precedence and the remainder of the request body was interpreted as a pipelined request. CVE-2022-21712 Twisted exposes cookies and authorization headers when following cross-origin redirects. This issue is present in the `twisted.web.RedirectAgent` and `twisted.web.BrowserLikeRedirectAgent` functions. For Debian 9 stretch, these problems have been fixed in version 16.6.0-2+deb9u1. We recommend that you upgrade your twisted packages. For the detailed security status of twisted please refer to its security tracker page at: https://security- tracker.debian.org/tracker/twisted Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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

Solution

Upgrade the twisted packages.

For Debian 9 stretch, these problems have been fixed in version 16.6.0-2+deb9u1.

See Also

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

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

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

https://security-tracker.debian.org/tracker/CVE-2020-10108

https://security-tracker.debian.org/tracker/CVE-2020-10109

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

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

Plugin Details

Severity: Critical

ID: 158196

File Name: debian_DLA-2927.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2/19/2022

Updated: 1/24/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2020-10109

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/19/2022

Vulnerability Publication Date: 3/12/2020

Reference Information

CVE: CVE-2020-10108, CVE-2020-10109, CVE-2022-21712