Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 14.0, < 14.12 |
Related Weaknesses (CWE)
References
- https://www.postgresql.org/support/security/CVE-2024-4317/MitigationVendor Advisory
- https://security.netapp.com/advisory/ntap-20250328-0001/
- https://www.postgresql.org/support/security/CVE-2024-4317/MitigationVendor Advisory
FAQ
What is CVE-2024-4317?
CVE-2024-4317 is a vulnerability with a CVSS score of 3.1 (LOW). 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 comma...
How severe is CVE-2024-4317?
CVE-2024-4317 has been rated LOW with a CVSS base score of 3.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-4317?
Check the references section above for vendor advisories and patch information. Affected products include: Postgresql Postgresql.