CVE-2021-23214

high

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.

References

https://www.postgresql.org/support/security/CVE-2021-23214/

https://security.gentoo.org/glsa/202211-04

https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951

https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951

https://bugzilla.redhat.com/show_bug.cgi?id=2022666

Details

Source: Mitre, NVD

Published: 2022-03-04

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 5.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: High