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.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | pgbouncer | PgBouncer 1.16.1 |
References
- http://www.pgbouncer.org/changelog.html#pgbouncer-116xRelease Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
- http://www.pgbouncer.org/changelog.html#pgbouncer-116xRelease Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
Timeline
- Published
- Nov 22, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified