Vulnerability Details : 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.
Vulnerability category: Sql Injection
Exploit prediction scoring system (EPSS) score for CVE-2021-3935
Probability of exploitation activity in the next 30 days: 0.10%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 41 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-3935
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
5.1
|
MEDIUM | AV:N/AC:H/Au:N/C:P/I:P/A:P |
4.9
|
6.4
|
nvd@nist.gov |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
nvd@nist.gov |
CWE ids for CVE-2021-3935
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.Assigned by:
- nvd@nist.gov (Primary)
- patrick@puiterwijk.org (Secondary)
-
The product does not validate, or incorrectly validates, a certificate.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-3935
-
https://lists.debian.org/debian-lts-announce/2022/02/msg00016.html
[SECURITY] [DLA 2922-1] pgbouncer security updateMailing List;Third Party Advisory
-
http://www.pgbouncer.org/changelog.html#pgbouncer-116x
PgBouncer changelogRelease Notes;Vendor Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2021251
2021251 – (CVE-2021-3935) CVE-2021-3935 pgbouncer: server processes unencrypted bytes from man-in-the-middleIssue Tracking;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TNPCV3KRDI5PLLLKADFVIOHACQJLZMLI/
[SECURITY] Fedora 35 Update: pgbouncer-1.16.1-1.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Products affected by CVE-2021-3935
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*