Debian dla-4180 : pgbouncer - security update

high Nessus Plugin ID 237294

Synopsis

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

Description

The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-4180 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-4180-1 [email protected] https://www.debian.org/lts/security/ Andreas Henriksson May 27, 2025 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : pgbouncer Version : 1.15.0-1+deb11u1 CVE ID : CVE-2021-3935 CVE-2025-2291 Debian Bug : 1103394

PgBouncer is a lightweight connection pooler for PostgreSQL.

CVE-2021-3539

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-2025-2291

Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to log in with an already expired password

For Debian 11 bullseye, these problems have been fixed in version 1.15.0-1+deb11u1.

We recommend that you upgrade your pgbouncer packages.

For the detailed security status of pgbouncer please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/pgbouncer

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 Attachment:
signature.asc Description: PGP signature

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

See Also

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

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

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

https://security-tracker.debian.org/tracker/CVE-2025-2291

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

Plugin Details

Severity: High

ID: 237294

File Name: debian_DLA-4180.nasl

Version: 1.1

Type: local

Agent: unix

Published: 5/27/2025

Updated: 5/27/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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: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: 5/27/2025

Vulnerability Publication Date: 7/27/2021

Reference Information

CVE: CVE-2021-3539, CVE-2021-3935, CVE-2025-2291