CVE-2021-23214
JSON

8.1high

When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle…

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
1.90% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
BIT-POSTGRESQL-2021-23214

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.

Affected

Product or packageVersionsReported by
postgresqlAffects v9.6 to v14CVE List
postgresql postgresqlbefore 9.6.24, from 10.0 before 10.19, from 11.0 before 11.14, from 12.0 before 12.9, from 13.0 before 13.5, 14.0NVD
fedoraproject fedora34, 35NVD
redhat software_collections1.0NVD
redhat enterprise_linux8.0NVD
redhat enterprise_linux_for_ibm_z_systems8.0NVD
redhat enterprise_linux_for_power_little_endian8.0NVD
postgresql (Bitnami)before 9.6.24, from 10.0.0 before 10.19.0, from 11.0.0 before 11.14.0, from 12.0.0 before 12.9.0, from 13.0.0 before 13.5.0, from 14.0.0 before 14.0.1Bitnami Vulnerability Database

All scores

NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.1medium CVSS:2.0AV:N/AC:H/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

NVD (es)

Cuando el servidor está configurado para usar la autenticación confiable con un requisito de clientcert o para usar la autenticación de cert, un atacante de tipo man-in-the-middle puede inyectar consultas SQL arbitrarias cuando es establecida una conexión por primera vez, a pesar del uso de la verificación y el cifrado del certificado SSL

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23214 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-23214 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2021-23214 changed 2026-09-08Apache-2.0