#VU58113 Missing Encryption of Sensitive Data in PostgreSQL - CVE-2021-23214

 

#VU58113 Missing Encryption of Sensitive Data in PostgreSQL - CVE-2021-23214

Published: November 11, 2021


Vulnerability identifier: #VU58113
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-23214
CWE-ID: CWE-311
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vulnerable software:
PostgreSQL
Software vendor:
PostgreSQL Global Development Group

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way PostgreSQL handles encrypted connections. 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.


Remediation

Install updates from vendor's website.

External links