Exposure of Sensitive Information Through Metadata Affecting postgresql:15/postgresql-test package, versions <0:15.14-1.module+el9.4.0+23426+8bcd22f5


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (15th 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-RHEL9-POSTGRESQL-13787129
  • published31 Oct 2025
  • disclosed14 Aug 2025

Introduced: 14 Aug 2025

CVE-2025-8713  (opens in a new tab)
CWE-1230  (opens in a new tab)

How to fix?

Upgrade RHEL:9 postgresql:15/postgresql-test to version 0:15.14-1.module+el9.4.0+23426+8bcd22f5 or higher.
This issue was patched in RHSA-2025:15014.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:15/postgresql-test package and not the postgresql:15/postgresql-test package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

CVSS Base Scores

version 3.1