Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | < 9.6.24 |
| Fedoraproject | Fedora | 34 |
| 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 Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Issue TrackingPatchThird Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e2412554154
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca60344PatchThird Party Advisory
- https://security.gentoo.org/glsa/202211-04Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Issue TrackingPatchThird Party Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e2412554154
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca60344PatchThird Party Advisory
- https://security.gentoo.org/glsa/202211-04Third Party Advisory
- https://www.postgresql.org/support/security/CVE-2021-23214/Vendor Advisory
FAQ
What is CVE-2021-23214?
CVE-2021-23214 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 i...
How severe is CVE-2021-23214?
CVE-2021-23214 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23214?
Check the references section above for vendor advisories and patch information. Affected products include: Postgresql Postgresql, Fedoraproject Fedora, Redhat Software Collections, Redhat Enterprise Linux, Redhat Enterprise Linux For Ibm Z Systems.