Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 826614 (CVE-2021-3935) - <dev-db/pgbouncer-1.16.1: arbitrary query injection via MITM (CVE-2021-3935)
Summary: <dev-db/pgbouncer-1.16.1: arbitrary query injection via MITM (CVE-2021-3935)
Alias: CVE-2021-3935
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa?]
Depends on: 865419
  Show dependency tree
Reported: 2021-11-22 17:46 UTC by John Helmert III
Modified: 2022-08-20 17:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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(-)