CVE-2021-3935
CVE-2021-3935
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.1 · High · EPSS 1.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
pgbouncer
- Versions
- PgBouncer 1.16.1: Affected
No fix published
pgbouncer Debian:12
- Affected ranges
- ECOSYSTEM: < 1.16.1-1
Update to 1.16.1-1
pgbouncer Debian:13
- Affected ranges
- ECOSYSTEM: < 1.16.1-1
Update to 1.16.1-1
pgbouncer Debian:14
- Affected ranges
- ECOSYSTEM: < 1.16.1-1
Update to 1.16.1-1
pgbouncer Ubuntu:16.04:LTS
- Versions
- 1.5.5-1
- 1.6.1-1
- 1.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pgbouncer Ubuntu:18.04:LTS
- Versions
- 1.7.2-3build1
- 1.7.2-65-g2b8e6cf-1
- 1.8.1-1
- 1.8.1-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pgbouncer Ubuntu:20.04:LTS
- Versions
- 1.10.0-1
- 1.10.0-1build1
- 1.11.0-1
- 1.12.0-2
- 1.12.0-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pgbouncer Ubuntu:22.04:LTS
- Versions
- 1.15.0-1
- 1.16.1-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-3935