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 package | Versions | Reported by |
|---|---|---|
| postgresql | Affects v9.6 to v14 | CVE List |
| postgresql postgresql | before 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.0 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| redhat software_collections | 1.0 | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0 | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0 | NVD |
| 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.1 | Bitnami Vulnerability Database |
All scores
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.1medium CVSS:2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high 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
| https://bugzilla.redhat.com/show_bug.cgi?id=2022666 | advisory, issue-tracking, patch, third-party-advisory | |
| https://www.postgresql.org/support/security/CVE-2021-23214/ | advisory, vendor-advisory | |
| https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951 | web | |
| https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951 | advisory, patch, third-party-advisory | |
| https://security.gentoo.org/glsa/202211-04 | advisory, third-party-advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23214 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23214 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-23214 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2021-23214 changed 2026-09-08 | Apache-2.0 |