CVE-2021-3935
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
22/11/2021
Last modified:
03/11/2025
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.
Impact
Base Score 3.x
8.10
Severity 3.x
HIGH
Base Score 2.0
5.10
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:* | 1.16.1 (excluding) | |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | ||
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/



