Exposure of Sensitive Information Through Metadata Affecting postgresql:13/postgresql-test package, versions <0:13.22-1.module+el8.6.0+23444+2be3520b.1


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-RHEL8-POSTGRESQL-13792938
  • 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:8 postgresql:13/postgresql-test to version 0:13.22-1.module+el8.6.0+23444+2be3520b.1 or higher.
This issue was patched in RHSA-2025:15359.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:13/postgresql-test package and not the postgresql:13/postgresql-test package as distributed by RHEL. See How to fix? for RHEL:8 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