CVE-2021-3935
HIGH8.1EPSS 0.08%pgbouncer - security update
Published: 11/22/2021Modified: 4/28/2026
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.
Affected packages (4)
- Bitnami/pgbouncerfrom 0, < 1.16.1
- Debian/pgbouncerfrom 0, < 1.15.0-1+deb11u1
- Debian/pgbouncerfrom 0, < 1.7.2-2+deb9u1
- Debian/pgbouncerfrom 0, < 1.15.0-1+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-3935
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2021251
- WEBhttps://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- WEBhttps://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-3935
- WEBhttp://www.pgbouncer.org/changelog.html#pgbouncer-116x