Improper Access Control Affecting postgresql package, versions [14.0,14.12)[15.0,15.7)[16.0,16.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-6828871
  • published10 May 2024
  • disclosed9 May 2024
  • creditLukas Fittl

Introduced: 9 May 2024

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

How to fix?

Upgrade postgresql to version 14.12, 15.7, 16.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to missing authorization checks in the built-in views pg_stats_ext and pg_stats_ext_exprs. An attacker can read most common values and other statistics from CREATE STATISTICS commands of other users by exploiting these views.

CVSS Scores

version 3.1