CVE-2024-4317

PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks

State
Published
Severity
3.1 Low
Published
May 9, 2024
Updated
Mar 28, 2025
Reserved
Apr 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 16 to before 16.3Affected
  • 15 to before 15.7Affected
  • 14 to before 14.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.