CVEvulnerability
CVE-2021-23214
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-03-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
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 configurations
• postgresql postgresql (< 9.6.24)
• postgresql postgresql (>= 10.0 < 10.19)
• postgresql postgresql (>= 11.0 < 11.14)
• postgresql postgresql (>= 12.0 < 12.9)
• postgresql postgresql (>= 13.0 < 13.5)
• postgresql postgresql 14.0
• fedoraproject fedora 34
• fedoraproject fedora 35
• redhat software collections 1.0
• redhat enterprise linux 8.0
• redhat enterprise linux for ibm z systems 8.0
• redhat enterprise linux for power little endian 8.0
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666 Issue Tracking, Patch, Third Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951 git.postgresql.org
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951 Patch, Third 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 Tracking, Patch, Third Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951 git.postgresql.org
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951 Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202211-04 Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/ Vendor Advisory