5.9

CVE-2021-23222: postgresql Insufficiently Protected Credentials

Modified
AliasesALPINE-CVE-2021-23222RHSA-2022:1891UBUNTU-CVE-2021-23222
Published 02-03-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-23222 is a medium (CVSS 5.9) Insufficiently Protected Credentials vulnerability in postgresql. EPSS estimates a 1.40% chance of exploitation in the next 30 days, higher than 73.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
1.40%
0%100%
Low · -0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 31 · Related 25

Timeline

  1. 02-03-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.40%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

Decrease -0.10 pp

From 1.50% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine5 products
  • postgresql≥ 9.6, < 12.9-r0 | ≥ 9.6, < 13.5-r0 | ≥ 12.0, < 12.9-r0 | ≥ 13.0, < 13.5-r0
  • postgresql12< 12.9-r0
  • postgresql13< 13.5-r0
  • postgresql14< 14.1-r0
  • postgresql15< 14.1-r0
Redhat5 products
  • libpq< 0:13.5-1.el8
  • libpq-debuginfo< 0:13.5-1.el8
  • libpq-debugsource< 0:13.5-1.el8
  • libpq-devel< 0:13.5-1.el8
  • libpq-devel-debuginfo< 0:13.5-1.el8
Ubuntu4 products
  • postgresql-10< 10.19-0ubuntu0.18.04.1
  • postgresql-12< 12.9-0ubuntu0.20.04.1
  • postgresql-9.3All versions (No fix recorded)
  • postgresql-9.5< 9.5.25-0ubuntu0.16.04.1+esm3
Debian1 product
  • postgresql-13< 13.5-0+deb11u1
Postgresql1 product
  • postgresqlEOL≥ 9.6, < 9.6.24 | ≥ 10.0, < 10.19 | ≥ 11.0, < 11.14 | ≥ 12.0, < 12.9 | ≥ 13.0, < 13.5 | 14.0

5 vendors · 16 products

References

18 links
Show all 18 references