← Back to CVEs
CVE-2021-3935
HIGH8.1
Description
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.
CVE Details
CVSS v3.1 Score8.1
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published11/22/2021
Last Modified11/3/2025
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxfedoraproject:fedorapgbouncer:pgbouncerredhat:enterprise_linux
Weaknesses (CWE)
CWE-89CWE-295
References
http://www.pgbouncer.org/changelog.html#pgbouncer-116x(patrick@puiterwijk.org)
https://bugzilla.redhat.com/show_bug.cgi?id=2021251(patrick@puiterwijk.org)
https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html(patrick@puiterwijk.org)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/(patrick@puiterwijk.org)
http://www.pgbouncer.org/changelog.html#pgbouncer-116x(af854a3a-2127-422b-91ae-364da2661108)
https://bugzilla.redhat.com/show_bug.cgi?id=2021251(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.