Live threats

All CVEs / Postgresql

CVE-2021-23222Postgresql

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Mar 2, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-522
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 9.6 < 9.6.24
postgresqlpostgresql≥ 10.0 < 10.19
postgresqlpostgresql≥ 11.0 < 11.14
postgresqlpostgresql≥ 12.0 < 12.9
postgresqlpostgresql≥ 13.0 < 13.5
postgresqlpostgresql14.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.