Severity
8.1HIGH
EPSS
0.2%
top 54.80%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 4
Latest updateSep 28

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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 2.2 | Impact: 5.9

Affected Packages6 packages

NVDpostgresql/postgresql10.010.19+5
Debianpostgresql-13< 13.5-0+deb11u1
Ubuntupostgresql-9.5< 9.5.25-0ubuntu0.16.04.1+esm1
CVEListV5odysseyOdyssey 1.1
CVEListV5postgresqlAffects v9.6 to v14

Also affects: Fedora 34, 35, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

4
OSV
postgresql-9.5 vulnerabilities2022-09-28
GHSA
GHSA-467w-rrqc-395f: When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker ca2022-03-05
CVEList
CVE-2021-23214: When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker ca2022-03-04
OSV
CVE-2021-23214: When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker ca2022-03-04

📋Vendor Advisories

6
Ubuntu
PostgreSQL vulnerabilities2022-09-28
Microsoft
Odyssey passes to server unencrypted bytes from man-in-the-middle When Odyssey is configured to use certificate Common Name for client authentication a man-in-the-middle attacker can inject arbitrary 2022-08-09
Microsoft
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 is2022-03-08
Ubuntu
PostgreSQL vulnerabilities2021-11-11
Red Hat
postgresql: server processes unencrypted bytes from man-in-the-middle2021-11-11