CVEvulnerability

CVE-2021-3935

8.1 HIGH Published 2021-11-22 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-11-22
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
Weaknesses
CWE-295, CWE-89

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.

Affected configurations

• pgbouncer pgbouncer (< 1.16.1) • redhat enterprise linux 7.0 • fedoraproject fedora 35 • debian debian linux 9.0

Related

Weakness · CWE (2)

  • CWE-295 Improper Certificate Validation weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References