{"id":"BIT-postgresql-2021-23214","details":"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.","aliases":["CVE-2021-23214"],"modified":"2025-04-03T14:40:37.652Z","published":"2024-03-06T11:05:31.701Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql:14.0:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2022666"},{"type":"WEB","url":"https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951"},{"type":"WEB","url":"https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202211-04"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2021-23214/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23214"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.6.24"},{"introduced":"10.0.0"},{"fixed":"10.19.0"},{"introduced":"11.0.0"},{"fixed":"11.14.0"},{"introduced":"12.0.0"},{"fixed":"12.9.0"},{"introduced":"13.0.0"},{"fixed":"13.5.0"},{"introduced":"14.0.0"},{"fixed":"14.0.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2021-23214.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}