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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.011 (64.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.001
Affected products
- Pgbouncer
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 35
- Red Hat Enterprise Linux — versions 7.0
- Pgbouncer — versions PgBouncer 1.16.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.pgbouncer.org/changelog.html (Release Notes, Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.debian.org/debian-lts-announce/2022/02/msg00016.html (mailing-list, 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.