Vulnerability database / CVE-2021-23214
CVE-2021-23214
HIGH 8.1 CVSS 3.1 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.
Published 4 Mar 2022
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-89 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.1
AV:N/AC:H/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
< 9.6.24
9.6.24 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 10.0, < 10.19
10.19 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 11.0, < 11.14
11.14 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 12.0, < 12.9
12.9 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 13.0, < 13.5
13.5 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:14.0:*:*:*:*:*:*:*
= 14.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD
redhat
software_collectionscpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*
= 1.0
NVD
redhat
enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
redhat
enterprise_linux_for_ibm_z_systemscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
= 8.0
NVD
redhat
enterprise_linux_for_power_little_endiancpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
= 8.0
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Mar 2022)