CVE-2021-3935
HIGH
Published Nov 22, 20214y ago · Modified Jun 17, 20262w ago
8.1 CVSS 3.1
Published Nov 22, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-295
CWE-89 SQL Injection Injection
Affected Products 4
| Vendor | Product | Version | Range |
|---|---|---|---|
| pgbouncer | pgbouncer | * | <1.16.1 |
| redhat | enterprise_linux | 7.0 | any |
| fedoraproject | fedora | 35 | any |
| debian | debian_linux | 9.0 | any |
References 5
- pgbouncer.org http://www.pgbouncer.org/changelog.html#pgbouncer-116x
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2021251
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.