Function Call With Incorrect Argument Type Affecting postgresql:15/postgresql-upgrade package, versions <0:15.5-1.module+el9.2.0.z+20667+a2d2a8a9


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.34% (72nd 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-6135771
  • published21 Dec 2023
  • disclosed9 Nov 2023

Introduced: 9 Nov 2023

CVE-2023-5868  (opens in a new tab)
CWE-686  (opens in a new tab)

How to fix?

Upgrade RHEL:9 postgresql:15/postgresql-upgrade to version 0:15.5-1.module+el9.2.0.z+20667+a2d2a8a9 or higher.
This issue was patched in RHSA-2023:7885.

NVD Description

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

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.

CVSS Scores

version 3.1