CVE-2021-23222
medium · 5.9A 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.
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.
CVE-2021-23222 is rated MEDIUM (5.9), with 13 indexed affected package builds across 3 distributions.
https://pkgseek.com/embed/security/CVE-2021-23222?locale=en
Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.
Newest affected build per package, repository source and distribution release.
libpq13.3-1.al8Fixed in 13.5-1.al8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libpqlibpq-devel13.3-1.al8Fixed in 13.5-1.al8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libpq-devellibpq13.3-1.el8_4Fixed in 13.5-1.el8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libpqlibpq-devel13.3-1.el8_4Fixed in 13.5-1.el8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade libpq-devellibecpg612.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libecpg6libecpg-compat312.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libecpg-compat3libecpg-dev12.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libecpg-devlibpgtypes312.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libpgtypes3libpq512.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libpq5libpq-dev12.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade libpq-devpostgresql-1212.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade postgresql-12postgresql-client-1212.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade postgresql-client-12postgresql-doc-1212.2-4Fixed in 12.9-0ubuntu0.20.04.1UBUNTU-CVE-2021-23222· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5145-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade postgresql-doc-12Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.