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 trend (30 days)EPSS over the last 30 days for CVE-2021-3935: held from 0.010 to 0.011.

EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.