CVEvulnerability
CVE-2021-3935
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-11-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-295, CWE-89
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 configurations
• pgbouncer pgbouncer (< 1.16.1)
• redhat enterprise linux 7.0
• fedoraproject fedora 35
• debian debian linux 9.0
Related
References
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x Release Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251 Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/ lists.fedoraproject.org
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x Release Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251 Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/ lists.fedoraproject.org