Bug 2021251 (CVE-2021-3935)

Summary: CVE-2021-3935 pgbouncer: server processes unencrypted bytes from man-in-the-middle
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: devrim, mail, negativo17, praiskup, ricardo.arguello, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: PgBouncer 1.16.1 Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 15:01:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2023784, 2023785    
Bug Blocks: 2021308    

Description Guilherme de Almeida Suckevicz 2021-11-08 16:33:51 UTC
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.

Comment 1 Guilherme de Almeida Suckevicz 2021-11-16 14:51:45 UTC
Created pgbouncer tracking bugs for this issue:

Affects: epel-all [bug 2023785]
Affects: fedora-all [bug 2023784]

Comment 2 Product Security DevOps Team 2021-11-16 15:01:19 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.