CVE-2024-4317CWE-862

PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks

Low · published May 9, 2024

CVSS v3.1
3.1
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00728 · 53.6th percentile
Weakness
CWE-862 · Missing Authorization
Published
2024-05-09T13:00Z
EPSS history
Timeline
  • 09 MAY 13:00Z
    PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks
    cvelistv5