SQL Injection in Pgbouncer
CVE-2021-3935
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.
Vulnerability class: SQL Injection
EPSS: 0.010 (60.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Pgbouncer
- Debian Debian_linux — versions 9.0
- Fedoraproject Fedora — versions 35
- Redhat Enterprise_linux — versions 7.0
- N/a Pgbouncer — versions PgBouncer 1.16.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- patrick@puiterwijk.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- patrick@puiterwijk.org (x_refsource_MISC, Release Notes, Vendor Advisory)
- patrick@puiterwijk.org (x_refsource_FEDORA, vendor-advisory)
- patrick@puiterwijk.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2021-3935?
- CVE-2021-3935 is a high-severity vulnerability in Pgbouncer, classified under SQL Injection. CVSS score: 8.1/10. Published 2021-11-22.
- How severe is CVE-2021-3935?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2021-3935 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.