Live threats

All CVEs / Pgbouncer

CVE-2021-3935Pgbouncer

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Nov 22, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89, CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pgbouncer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pgbouncerpgbouncer< 1.16.1
redhatenterprise_linux7.0
fedoraprojectfedora35
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.