Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 826614 (CVE-2021-3935)

Summary: <dev-db/pgbouncer-1.16.1: arbitrary query injection via MITM (CVE-2021-3935)
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: minor CC: pgsql-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [glsa?]
Package list:
Runtime testing required: ---
Bug Depends on: 865419    
Bug Blocks:    

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-22 17:46:50 UTC
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.

Please bump.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-17 16:06:26 UTC
Please cleanup
Comment 2 Larry the Git Cow gentoo-dev 2022-08-19 13:33:39 UTC
The bug has been referenced in the following commit(s):

commit 5ac0c687c12c442d5bc4948b7b3fab3f54b1f5ef
Author:     Patrick Lauer <>
AuthorDate: 2022-08-19 13:33:22 +0000
Commit:     Patrick Lauer <>
CommitDate: 2022-08-19 13:33:36 +0000

    dev-db/pgbouncer: Remove old
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Patrick Lauer <>

 dev-db/pgbouncer/Manifest                   |  2 -
 dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild | 81 -----------------------------
 dev-db/pgbouncer/pgbouncer-1.16.0.ebuild    | 81 -----------------------------
 3 files changed, 164 deletions(-)