Original 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 software
- PostgreSQL ≥ 12.0 < 12.9= 14.0≥ 11.0 < 11.14≥ 13.0 < 13.5< 9.6.24≥ 10.0 < 10.19 Fixed in: 12.9, 11.14, 13.5, 9.6.24 exact match
Details
- Published
- 2022-03-04
- Last modified
- 2024-08-04
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 1.90% (percentile 80)
References
- cve.org/CVE-2021-23214
- nvd.nist.gov/vuln/detail/CVE-2021-23214
- bugzilla.redhat.com/show_bug.cgi?id=2022666
- www.postgresql.org/support/security/CVE-2021-23214/
- git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca...
- github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951
- security.gentoo.org/glsa/202211-04
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.