Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-23222

published

postgresql: libpq processes unencrypted bytes from man-in-the-middle

Title from Red Hat VEX

Published
02 Mar 2022, 00:00:00 UTC
Updated
03 Aug 2024, 19:05:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — postgresqlAffects v9.6 to v14 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL12-2023-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL12-2023-003 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL13-2023-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL14-2024-008 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL14-2024-009 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.11 postgresql Fixed 12.9-r0 Package fix record
SUSE / openSUSE SLE-12-SP2 postgresqlnoarch Advisory build 14-4.10.1 SUSE-SU-2021:3755-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 libpq Advisory build 13.5-1.el8 ALSA-2022:1891
Debian bullseye postgresql-13 Advisory build 13.5-0+deb11u1 DSA-5007-1
Oracle Linux 8 libpqaarch64 Advisory build 0:13.5-1.el8 ELSA-2022-1891
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresqlsrc Advisory build 12.9-1.el7 RHSA-2021:5197
Alpine Linux v3.12 postgresql Fixed 12.9-r0 Package fix record
Alpine Linux v3.13 postgresql Fixed 13.5-r0 Package fix record
Alpine Linux v3.14 postgresql Fixed 13.5-r0 Package fix record
SUSE / openSUSE SLE-12-SP3 postgresqlnoarch Advisory build 14-4.10.1 SUSE-SU-2021:3755-1
SUSE / openSUSE SLE-12-SP4 postgresqlnoarch Advisory build 14-4.10.1 SUSE-SU-2021:3755-1
SUSE / openSUSE SLE-12-SP5 postgresqlnoarch Advisory build 14-4.10.1 SUSE-SU-2021:3755-1
SUSE / openSUSE SLE-15 postgresqlnoarch Advisory build 12.0.1-150000.8.19.1 SUSE-SU-2022:2893-1
SUSE / openSUSE SLE-15-SP1 postgresqlnoarch Advisory build 12.0.1-150000.8.19.1 SUSE-SU-2022:2893-1
AlmaLinux 8 libpq-devel Advisory build 13.5-1.el8 ALSA-2022:1891
Alpine Linux v3.15 postgresql12 Fixed 12.9-r0 Package fix record
Alpine Linux v3.15 postgresql13 Fixed 13.5-r0 Package fix record
Alpine Linux v3.15 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.16 postgresql12 Fixed 12.9-r0 Package fix record
Alpine Linux v3.16 postgresql13 Fixed 13.5-r0 Package fix record
Alpine Linux v3.16 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.17 postgresql12 Fixed 12.9-r0 Package fix record
Alpine Linux v3.17 postgresql13 Fixed 13.5-r0 Package fix record
Alpine Linux v3.17 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.17 postgresql15 Fixed 14.1-r0 Package fix record
Alpine Linux v3.18 postgresql12 Fixed 12.9-r0 Package fix record
Alpine Linux v3.18 postgresql13 Fixed 13.5-r0 Package fix record
Alpine Linux v3.18 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.18 postgresql15 Fixed 14.1-r0 Package fix record
Alpine Linux v3.19 postgresql13 Fixed 13.5-r0 Package fix record
Alpine Linux v3.19 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.19 postgresql15 Fixed 14.1-r0 Package fix record
Alpine Linux v3.20 postgresql14 Fixed 14.1-r0 Package fix record
Alpine Linux v3.20 postgresql15 Fixed 14.1-r0 Package fix record
Debian buster postgresql-11 Advisory build 11.14-0+deb10u1 DSA-5006-1
Debian stretch postgresql-9.6 Advisory build 9.6.24-0+deb9u1 DLA-2817-1
Oracle Linux 8 libpqx86_64 Advisory build 0:13.5-1.el8 ELSA-2022-1891
Oracle Linux 8 libpq-develaarch64 Advisory build 0:13.5-1.el8 ELSA-2022-1891
Oracle Linux 8 libpq-develx86_64 Advisory build 0:13.5-1.el8 ELSA-2022-1891
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresqlx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-contribx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-contrib-syspathsx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-debuginfox86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-develx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-docsx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-libsx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-plperlx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-plpythonx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-pltclx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-serverx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-server-syspathsx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-staticx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-syspathsx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql12-postgresql-testx86_64 Advisory build 12.9-1.el7 RHSA-2021:5197
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresqlsrc Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresqlx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-contribx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-contrib-syspathsx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-debuginfox86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-develx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-docsx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-libsx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-plperlx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-plpythonx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-plpython3x86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-pltclx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-serverx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-server-syspathsx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-staticx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-syspathsx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-7 rh-postgresql13-postgresql-testx86_64 Advisory build 13.5-1.el7 RHSA-2021:5179
Red Hat Enterprise Linux RHEL-8 libpqaarch64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpqi686 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpqppc64le Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpqs390x Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpqsrc Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpqx86_64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debuginfoaarch64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debuginfoi686 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debuginfoppc64le Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debuginfos390x Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debuginfox86_64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debugsourceaarch64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debugsourcei686 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debugsourceppc64le Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debugsources390x Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-debugsourcex86_64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-develaarch64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-develi686 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-develppc64le Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devels390x Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-develx86_64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devel-debuginfoaarch64 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devel-debuginfoi686 Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devel-debuginfoppc64le Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devel-debuginfos390x Advisory build 13.5-1.el8 RHSA-2022:1891
Red Hat Enterprise Linux RHEL-8 libpq-devel-debuginfox86_64 Advisory build 13.5-1.el8 RHSA-2022:1891
SUSE / openSUSE SLE-12-SP2 libecpg6x86_64 Advisory build 14.1-3.3.1 SUSE-SU-2021:3755-1
SUSE / openSUSE SLE-12-SP2 libpq5x86_64 Advisory build 14.1-3.3.1 SUSE-SU-2021:3755-1
SUSE / openSUSE SLE-12-SP2 libpq5-32bitx86_64 Advisory build 14.1-3.3.1 SUSE-SU-2021:3755-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

77

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a postgresql Affects v9.6 to v14 (affected) redhat · cna

Weaknesses

1
  • CWE-522 CWE-522 - Insufficiently Protected Credentials (redhat · cna)

References

5

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
3b6cf495b0e81a7f1f6b31f550fbe6b3c24c1e5b83d6af32da7d877d05b343f8
Ingested
23 Sep 2026, 07:52:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected