CVE-2021-23222Postgresql
Medium 5.9 No auth needed
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Postgresql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 9.6 < 9.6.24 |
| postgresql | postgresql | ≥ 10.0 < 10.19 |
| postgresql | postgresql | ≥ 11.0 < 11.14 |
| postgresql | postgresql | ≥ 12.0 < 12.9 |
| postgresql | postgresql | ≥ 13.0 < 13.5 |
| postgresql | postgresql | 14.0 |
Official advisories
- postgresql18-18.7-1.1 on GA media · SUSE · openSUSE-SU-2026:12654-1 · Nov 23, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- git.postgresql.org
- github.com Patch Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.postgresql.org Release Notes Vendor Advisory