Vulnerability record · CVE-2021-23214 · published 4 March 2022
CVE-2021-23214: Postgresql sql injection vulnerability
Postgresql · Postgresql
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.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2022666 | Issue TrackingPatchThird Party Advisory |
| https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951 | |
| https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951 | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202211-04 | Third Party Advisory |
| https://www.postgresql.org/support/security/CVE-2021-23214/ | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2022666 | Issue TrackingPatchThird Party Advisory |
| https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951 | |
| https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951 | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202211-04 | Third Party Advisory |
| https://www.postgresql.org/support/security/CVE-2021-23214/ | Vendor Advisory |
Track CVE-2021-23214 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-23214), CISA KEV, FIRST EPSS (scores of 2026-10-04). This page is refreshed as NVD updates the record.