Description
When the server is configured to use trust authentication with a clientcert requirement or 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 SSL certificate verification and encryption.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | postgresql | Affects v9.6 to v14 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Issue Tracking, Patch, Third Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202211-04Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Issue Tracking, Patch, Third Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202211-04Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Vendor Advisory
Timeline
- Published
- Mar 4, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified