CVE-2024-4317
postgresql: PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 9, 2024
Updated · August 7, 2026
Description
A flaw was found in PostgreSQL. Missing authorization in the 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.
Statement
PostgreSQL versions before 14 are not affected by this vulnerability. Additionally, this flaw was rated with a low severity as an attacker only has access to some restricted information, specifically information from CREATE STATISTICS commands.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE-862 · Missing Authorization