CVE-2021-3935

8.1 HIGH
Published: November 22, 2021 Modified: November 03, 2025

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.pgbouncer.org/changelog.html#pgbouncer-116x
Source: patrick@puiterwijk.org
Release Notes Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2021251
Source: patrick@puiterwijk.org
Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
Source: patrick@puiterwijk.org
Mailing List Third Party Advisory
http://www.pgbouncer.org/changelog.html#pgbouncer-116x
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2021251
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory

9 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.1 / 10.0
EPSS (Exploit Probability)
0.1%
35th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

redhat pgbouncer debian fedoraproject