Vulnerability · Published Mar 2, 2022 · Assigned by redhat

CVE-2021-23222

Medium 5.9

In plain English

A medium-severity security flaw in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)1.5%top 25.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libpq13.5-1.el8ALSA-2022:1891
AlmaLinux:8libpq-devel13.5-1.el8ALSA-2022:1891
Alpine:v3.20postgresql1414.1-r0ALPINE-CVE-2021-23222
Alpine:v3.20postgresql1514.1-r0ALPINE-CVE-2021-23222
Rocky Linux:8libpq0:13.5-1.el8RLSA-2022:1891

Affected products (as reported)

VendorProductVersions
n/a postgresql Affects v9.6 to v14

Weakness: CWE-522

References