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

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.