CVE-2024-4317: postgresql Missing Authorization
Vulnerability summary
CVE-2024-4317 is a medium (CVSS 4.3) Missing Authorization vulnerability in postgresql. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 09-05-2024PublishedVulnerability first disclosed.
- 28-03-2025Last modifiedVulnerability information updated.
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 metrics
6 scores · 6 sources · 1 version- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
+0.01 pp
From 0.72% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse21 products
- postgresql14&distro=SUSE Linux Enterprise Module for Legacy 15 SP5< 14.12-150200.5.44.1
- postgresql14&distro=SUSE Linux Enterprise Module for Legacy 15 SP6< 14.12-150600.16.3.1
- postgresql14&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 14.12-150200.5.44.1
- postgresql14&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 14.12-150600.16.3.1
- postgresql14&distro=SUSE Linux Enterprise Server 12 SP5< 14.12-3.41.1
Opensuse10 products
- postgresql14&distro=openSUSE Leap 15.5< 14.12-150200.5.44.1
- postgresql14&distro=openSUSE Leap 15.6< 14.12-150600.16.3.1
- postgresql14&distro=openSUSE Tumbleweed< 14.12-1.1
- postgresql15&distro=openSUSE Leap 15.5< 15.7-150200.5.27.1
- postgresql15&distro=openSUSE Leap 15.6< 15.7-150600.16.3.1
Chainguard5 products
- postgresql-14< 14.19-r1
- postgresql-14-clientAll versions (No fix recorded) | < 14.24-r2
- postgresql-15< 15.14-r0
- postgresql-15-clientAll versions (No fix recorded)
- postgresql-16< 16.3-r0
Wolfi5 products
- postgresql-14< 14.19-r1
- postgresql-14-clientAll versions (No fix recorded) | < 14.24-r2
- postgresql-15< 15.14-r0
- postgresql-15-clientAll versions (No fix recorded)
- postgresql-16< 16.3-r0
Mageia2 products
- postgresql13< 13.15-1.mga9
- postgresql15< 15.7-1.mga9
Ubuntu2 products
- postgresql-14< 14.12-0ubuntu0.22.04.1
- postgresql-16< 16.3-0ubuntu0.24.04.1
Debian1 product
- postgresql-15< 15.7-0+deb12u1
Postgresql1 product
- postgresql≥ 14.0, < 14.12 | ≥ 15.0, < 15.7 | ≥ 16.0, < 16.3
8 vendors · 47 products