CVE-2021-3935
publishedpgbouncer: server processes unencrypted bytes from man-in-the-middle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | pgbouncerPgBouncer 1.16.1 | Affected | Not stated | fedora |
| Alpine Linux | edge | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Debian | bullseye | pgbouncer | Advisory build | 1.15.0-1+deb11u1 | DLA-4180-1 |
| Alpine Linux | v3.18 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Alpine Linux | v3.19 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Alpine Linux | v3.20 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Alpine Linux | v3.21 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Alpine Linux | v3.22 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Alpine Linux | v3.24 | pgbouncer | Fixed | 1.16.1-r0 | Package fix record |
| Debian | stretch | pgbouncer | Advisory build | 1.7.2-2+deb9u1 | DLA-2922-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | pgbouncer | PgBouncer 1.16.1 (affected) | fedora · cna |
Weaknesses
1- CWE-89
References
5- http://www.pgbouncer.org/changelog.html#pgbouncer-116x
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251
- [debian-lts-announce] 20220214 [SECURITY] [DLA 2922-1] pgbouncer security update https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- FEDORA-2021-761cda0b77 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
Provider assertions
2fedora · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 28f04d011757a226fbaf101ee2ca10f6047e0337a48cfdab93759a20e2d96f61
- Ingested
- 23 Sep 2026, 07:55:59 UTC
- Source record
- Official CVE record