CVE-2024-4317
published low CVSS 3.1 · 3.1PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL16 to < 16.3 · 15 to < 15.7 · 14 to < 14.12 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2024-011 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-635 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.8-1.module_el8.10.0+3798+606ebb9f | ALSA-2024:5927 |
| Oracle Linux | 8 | pg_repackaarch64 · postgresql · 15b | Advisory build | 0:1.4.8-1.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2024:6001 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2024:6001 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | pgaudit | Advisory build | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2024:5927 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 1.9.7-1.Final.module_el8.9.0+3706+885c732e | ALSA-2024:6001 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-private-devel | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-private-devel | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-private-libs | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-private-libs | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 15.8-1.module_el8.10.0+3888+1aead837 | ALSA-2024:6001 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 16.4-1.module_el8.10.0+3884+a79fbae6 | ALSA-2024:5927 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.4.8-1.module_el9.3.0+52+21733919 | ALSA-2024:6020 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.4.8-1.module_el9.4.0+66+eb9878bc | ALSA-2024:5929 |
| AlmaLinux | 9 | pgaudit | Advisory build | 1.7.0-1.module_el9.3.0+52+21733919 | ALSA-2024:6020 |
| AlmaLinux | 9 | pgaudit | Advisory build | 16.0-1.module_el9.4.0+66+eb9878bc | ALSA-2024:5929 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 1.9.7-1.Final.module_el9.3.0+52+21733919 | ALSA-2024:6020 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el9.4.0+66+eb9878bc | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-pltcl | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-pltcl | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-private-devel | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-private-devel | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-private-libs | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-private-libs | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-server | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-server | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-server-devel | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-server-devel | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-static | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-static | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-test | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-test | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-test-rpm-macros | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-test-rpm-macros | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-upgrade | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-upgrade | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| AlmaLinux | 9 | postgresql-upgrade-devel | Advisory build | 15.8-1.module_el9.4.0+111+667b9e9e | ALSA-2024:6020 |
| AlmaLinux | 9 | postgresql-upgrade-devel | Advisory build | 16.4-1.module_el9.4.0+109+624ac33a | ALSA-2024:5929 |
| Oracle Linux | 8 | pg_repackaarch64 · postgresql · 16b | Advisory build | 0:1.4.8-1.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | pg_repackx86_64 · postgresql · 15b | Advisory build | 0:1.4.8-1.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| Oracle Linux | 8 | pg_repackx86_64 · postgresql · 16b | Advisory build | 0:1.4.8-1.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | pgauditaarch64 · postgresql · 15b | Advisory build | 0:1.7.0-1.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| Oracle Linux | 8 | pgauditaarch64 · postgresql · 16b | Advisory build | 0:16.0-1.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | pgauditx86_64 · postgresql · 15b | Advisory build | 0:1.7.0-1.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| Oracle Linux | 8 | pgauditx86_64 · postgresql · 16b | Advisory build | 0:16.0-1.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | postgres-decoderbufsaarch64 · postgresql · 15b | Advisory build | 0:1.9.7-1.Final.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgres-decoderbufsaarch64 · postgresql · 16b | Advisory build | 0:2.4.0-1.Final.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | postgres-decoderbufsx86_64 · postgresql · 15b | Advisory build | 0:1.9.7-1.Final.module+el8.9.0+90110+d8a562d5 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgres-decoderbufsx86_64 · postgresql · 16b | Advisory build | 0:2.4.0-1.Final.module+el8.10.0+90275+c15b12cb | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-docsaarch64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-docsaarch64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-docsx86_64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-docsx86_64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-plperlaarch64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-plperlaarch64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
| Oracle Linux | 8 | postgresql-plperlx86_64 · postgresql · 15b | Advisory build | 0:15.8-1.module+el8.10.0+90396+38e9dad0 | ELSA-2024-6001 |
| Oracle Linux | 8 | postgresql-plperlx86_64 · postgresql · 16b | Advisory build | 0:16.4-1.module+el8.10.0+90393+cf801dc8 | ELSA-2024-5927 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 16 to < 16.3 (affected · rpm)15 to < 15.7 (affected · rpm)14 to < 14.12 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
2Provider assertions
3PostgreSQL · cna
PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9d13f2d9fc83575056d01cfc03b4a8665ede37d113b42d1a63fcc2a0db2045d5
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record