Live threats

All CVEs / Postgresql

CVE-2024-4317Postgresql

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
May 14, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 14.0 < 14.12
postgresqlpostgresql≥ 15.0 < 15.7
postgresqlpostgresql≥ 16.0 < 16.3

Official sources

References

Links published by the sources. Open them with care.