# CVE-2024-4317: PostgreSQL pg\_stats\_ext and pg\_stats\_ext\_exprs lack authorization checks

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-09 · Modified: 2025-03-28
- Aliases: MGASA-2024-0184, SUSE-SU-2024:1651-1, SUSE-SU-2024:1652-1, SUSE-SU-2024:1653-1, SUSE-SU-2024:1703-1, SUSE-SU-2024:1768-1, SUSE-SU-2024:1777-1, SUSE-SU-2024:2261-1, SUSE-SU-2024:2262-1, SUSE-SU-2024:2262-2, SUSE-SU-2024:2262-3, SUSE-SU-2024:2266-1, UBUNTU-CVE-2024-4317, USN-6802-1, DEBIAN-CVE-2024-4317, CGA-4qmg-4xrv-pvq6, CGA-6j48-279c-7wxm, CGA-829q-5c68-p3x4, CGA-8pmf-xwvc-gh73, CGA-8wq5-x9rh-4jj4, CGA-f9c4-2qmr-4vvp, CGA-jhrf-vh7g-q95q, CGA-mh89-qpf4-cmqp, CGA-p6vq-3chw-fjj9, openSUSE-SU-2024:13946-1, openSUSE-SU-2024:13947-1, openSUSE-SU-2024:13950-1
- Record: https://cvemate.com/vulnerability/CVE-2024-4317 · JSON: https://cvemate.com/vulnerability/CVE-2024-4317/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.765%, percentile 56.816%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 47)

- chainguard postgresql-14 (Chainguard): \< 14.19-r1
- chainguard postgresql-14-client (Chainguard): All versions (No fix recorded) \| \< 14.24-r2
- chainguard postgresql-15 (Chainguard): \< 15.14-r0
- chainguard postgresql-15-client (Chainguard): All versions (No fix recorded) \| \< 15.19-r2
- chainguard postgresql-16 (Chainguard): \< 16.3-r0
- wolfi postgresql-14 (Wolfi): \< 14.19-r1
- wolfi postgresql-14-client (Wolfi): All versions (No fix recorded) \| \< 14.24-r2
- wolfi postgresql-15 (Wolfi): \< 15.14-r0
- wolfi postgresql-15-client (Wolfi): All versions (No fix recorded) \| \< 15.19-r2
- wolfi postgresql-16 (Wolfi): \< 16.3-r0
- debian postgresql-15 (Debian): \< 15.7-0+deb12u1
- ubuntu postgresql-14 (Ubuntu): \< 14.12-0ubuntu0.22.04.1
- ubuntu postgresql-16 (Ubuntu): \< 16.3-0ubuntu0.24.04.1
- mageia postgresql13 (Mageia): \< 13.15-1.mga9
- mageia postgresql15 (Mageia): \< 15.7-1.mga9
- postgresql postgresql: ≥ 14.0, \< 14.12 \| ≥ 15.0, \< 15.7 \| ≥ 16.0, \< 16.3
- opensuse postgresql14&distro=openSUSE Leap 15.5 (openSUSE): \< 14.12-150200.5.44.1
- opensuse postgresql14&distro=openSUSE Leap 15.6 (openSUSE): \< 14.12-150600.16.3.1
- opensuse postgresql14&distro=openSUSE Tumbleweed (openSUSE): \< 14.12-1.1
- opensuse postgresql15&distro=openSUSE Leap 15.5 (openSUSE): \< 15.7-150200.5.27.1

## References (first 20 of 24)

- <https://www.postgresql.org/support/security/CVE-2024-4317/>
- <https://security.netapp.com/advisory/ntap-20250328-0001/>
- <https://advisories.mageia.org/MGASA-2024-0184.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33217>
- <https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241651-1/>
- <https://bugzilla.suse.com/1224038>
- <https://bugzilla.suse.com/1224051>
- <https://www.suse.com/security/cve/CVE-2024-4317>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241652-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241653-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241703-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241768-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241777-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242261-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242262-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242262-2/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242262-3/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242266-1/>
- <https://ubuntu.com/security/CVE-2024-4317>

---

Data as of 2026-12-05T08:24:33.993Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
