Debian DSA-5334-1 : varnish - security update

high Nessus Plugin ID 170771

Synopsis

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

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5334 advisory.

- An HTTP Request Forgery issue was discovered in Varnish Cache 5.x and 6.x before 6.0.11, 7.x before 7.1.2, and 7.2.x before 7.2.1. An attacker may introduce characters through HTTP/2 pseudo-headers that are invalid in the context of an HTTP/1 request line, causing the Varnish server to produce invalid HTTP/1 requests to the backend. This could, in turn, be used to exploit vulnerabilities in a server behind the Varnish server. Note: the 6.0.x LTS series (before 6.0.11) is affected. (CVE-2022-45060)

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), this problem has been fixed in version 6.5.1-1+deb11u3.

See Also

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

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

https://www.debian.org/security/2023/dsa-5334

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

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

Plugin Details

Severity: High

ID: 170771

File Name: debian_DSA-5334.nasl

Version: 1.0

Type: local

Agent: unix

Published: 1/29/2023

Updated: 1/29/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-45060

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/29/2023

Vulnerability Publication Date: 11/9/2022

Reference Information

CVE: CVE-2022-45060