Improper Access Control Affecting libpq package, versions [14.2,15.12)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (41st 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-CONAN-LIBPQ-10077281
  • published8 May 2025
  • 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 libpq to version 15.12 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 Base Scores

version 3.1