CVE-2021-3935
mediumpriority · track · 32EPSS 0.011 · 66 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.1–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-pgbouncer-2021-39352024-03-06vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- http://www.pgbouncer.org/changelog.html#pgbouncer-116xcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251。Patchcnnvd
- https://lists.debian.org/debian-lts-announce/2022/02/msg00016.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-3935cnnvd
- https://vigilance.fr/vulnerability/PgBouncer-SQL-injection-via-Cert-Authentication-37154cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.0651cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan