Missing Authorization Affecting postgresql15-private-libs package, versions <0:15.7-1.amzn2023.0.1


Severity

Recommended
0.0
low
0
10

Based on Amazon 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 Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-POSTGRESQL15PRIVATELIBS-7243401
  • published11 Jun 2024
  • disclosed14 May 2024

Introduced: 14 May 2024

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

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-private-libs to version 0:15.7-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-635.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-private-libs package and not the postgresql15-private-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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