CVE-2024-4317 Affecting postgresql-upgrade package, versions <0:16.4-1.module+el8.10.0+1858+fcc46a79


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-POSTGRESQLUPGRADE-7982246
  • published17 Sept 2024
  • disclosed14 May 2024

Introduced: 14 May 2024

CVE-2024-4317  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 postgresql-upgrade to version 0:16.4-1.module+el8.10.0+1858+fcc46a79 or higher.
This issue was patched in RLSA-2024:5927.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-upgrade package and not the postgresql-upgrade package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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 Scores

version 3.1