CVE Vulnerabilities

CVE-2021-3935

Improper Certificate Validation

Published: Nov 22, 2021 | Modified: Nov 07, 2023
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
5.1 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Pgbouncer Pgbouncer * 1.16.1 (excluding)
Pgbouncer Ubuntu bionic *
Pgbouncer Ubuntu hirsute *
Pgbouncer Ubuntu impish *
Pgbouncer Ubuntu kinetic *
Pgbouncer Ubuntu trusty *
Pgbouncer Ubuntu upstream *
Pgbouncer Ubuntu xenial *

Potential Mitigations

References