{"id":"ALPINE-CVE-2021-3935","details":"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.","modified":"2026-11-03T06:32:58.630888797Z","published":"2021-11-22T16:15:07.440Z","upstream":["CVE-2021-3935"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-3935"}],"affected":[{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}},{"package":{"name":"pgbouncer","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/pgbouncer?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3935.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}