Debian DSA-5088-1 : varnish - security update

critical Nessus Plugin ID 158585

Synopsis

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

Description

The remote Debian 10 / 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5088 advisory.

- Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-Length header for a POST request. This affects Varnish Enterprise 6.0.x before 6.0.8r3, and Varnish Cache 5.x and 6.x before 6.5.2, 6.6.x before 6.6.1, and 6.0 LTS before 6.0.8. (CVE-2021-36740)

- In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enterprise (Cache Plus) 4.1.x before 4.1.11r6 and 6.0.x before 6.0.9r4, request smuggling can occur for HTTP/1 connections. (CVE-2022-23959)

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 varnish packages.

For the stable distribution (bullseye), these problems have been fixed in version 6.5.1-1+deb11u2.

See Also

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

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

https://www.debian.org/security/2022/dsa-5088

https://security-tracker.debian.org/tracker/CVE-2021-36740

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

https://packages.debian.org/source/buster/varnish

https://packages.debian.org/source/bullseye/varnish

Plugin Details

Severity: Critical

ID: 158585

File Name: debian_DSA-5088.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/4/2022

Updated: 3/4/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2022-23959

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libvarnishapi-dev, p-cpe:/a:debian:debian_linux:libvarnishapi2, p-cpe:/a:debian:debian_linux:varnish, p-cpe:/a:debian:debian_linux:varnish-doc, cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/3/2022

Vulnerability Publication Date: 7/14/2021

Reference Information

CVE: CVE-2021-36740, CVE-2022-23959