Debian DLA-2922-1 : pgbouncer - LTS security update

high Nessus Plugin ID 158045

Synopsis

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

Description

The remote Debian 9 host has a package installed that is affected by a vulnerability as referenced in the dla-2922 advisory.

- When PgBouncer is configured to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1. (CVE-2021-3935)

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

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

See Also

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

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

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

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

Plugin Details

Severity: High

ID: 158045

File Name: debian_DLA-2922.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/14/2022

Updated: 2/14/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

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

CVSS Score Source: CVE-2021-3935

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:pgbouncer, cpe:/o:debian:debian_linux:9.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: 2/14/2022

Vulnerability Publication Date: 11/22/2021

Reference Information

CVE: CVE-2021-3935