CVE-2024-4317
Last modified
CVE-2024-4317 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 14.0, < 14.12 |
| Postgresql | Postgresql | >= 15.0, < 15.7 |
| Postgresql | Postgresql | >= 16.0, < 16.3 |
References
- https://www.postgresql.org/support/security/CVE-2024-4317/Mitigation, Vendor Advisory
- https://www.postgresql.org/support/security/CVE-2024-4317/Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-4317?
How severe is CVE-2024-4317?
How do I fix CVE-2024-4317?
Are you affected by CVE-2024-4317?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
