{"id":"CVE-2021-3935","aliases":["CVE-2021-3935","BIT-PGBOUNCER-2021-3935"],"related":[],"kind":"vulnerability","state":"published","title":"When PgBouncer is configured to use \"cert\" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Cuando PgBouncer está configurado para usar la autenticación \"cert\", un atacante de tipo \"man-in-the-middle\" puede inyectar consultas SQL arbitrarias cuando se establece una conexión por primera vez, a pesar del uso de la verificación y el cifrado de certificados TLS. Este fallo afecta a PgBouncer versiones anteriores a 1.16.1","source":"nvd"}],"published":"2021-11-22T15:59:14.000Z","modified":"2026-09-08T08:47:35.993Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","score":5.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89","CWE-295"],"affected":[{"ranges":[{"version":"PgBouncer 1.16.1","status":"affected"}],"product":"pgbouncer","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.16.1"}],"vendor":"pgbouncer","product":"pgbouncer","cpe":"cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Bitnami","package":"pgbouncer","purl":"pkg:bitnami/pgbouncer","source":"bitnami"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2021251","tags":["advisory","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.pgbouncer.org/changelog.html#pgbouncer-116x","tags":["advisory","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html","tags":["advisory","mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3935","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"fedora","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3935","url":"https://www.cve.org/CVERecord?id=CVE-2021-3935","licence":"CVE Terms of Use","modified":"2025-11-03T19:26:17.293Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3935","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3935","licence":"Public domain","modified":"2026-06-17T04:06:01.063Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PGBOUNCER-2021-3935","url":"https://osv.dev/vulnerability/BIT-PGBOUNCER-2021-3935","licence":"Apache-2.0","modified":"2026-09-08T08:47:35.993Z"}],"updatedAt":"2026-11-25T22:58:05.705Z","epss":{"score":0.01116,"percentile":0.66992,"date":"2026-12-01T12:00:22.000Z"}}