CVE-2021-23214
HIGH severity · CVSS 8.1 · SQL injection
8.1CVSS HIGH
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)0%
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products we track (2)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://bugzilla.redhat.com/show_bug.cgi?id=2022666 ↗
Additional information
- NVD record
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Patch
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=2022666Patch
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951Patch
- https://www.postgresql.org/support/security/CVE-2021-23214/Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951
- https://security.gentoo.org/glsa/202211-04Advisory
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951