Exposure of Sensitive Information Through Metadata Affecting postgresql15-test package, versions <0:15.14-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon 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-AMZN2023-POSTGRESQL15TEST-12561781
  • published9 Sept 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 Amazon-Linux:2023 postgresql15-test to version 0:15.14-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1165.

NVD Description

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