CVE-2023-5868
JSON

4.3medium

Postgresql: memory disclosure in aggregate function calls

Severity
4.3medium CVSS:3.1 by redhat
Exploit likelihood
2.77% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
BIT-POSTGRESQL-2023-5868

Description

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.

Affected

Product or packageVersionsReported by
advanced-cluster-security/rhacs-central-db-rhel8Not specified
Not affected: from 4.2.4-6 before *, from 3.74.8-9 before *, from 4.1.6-6 before *
CVE List
advanced-cluster-security/rhacs-main-rhel8Not specified
Not affected: from 4.2.4-6 before *, from 3.74.8-9 before *, from 4.1.6-6 before *
CVE List
advanced-cluster-security/rhacs-operator-bundleNot specified
Not affected: from 4.2.4-7 before *, from 3.74.8-7 before *, from 4.1.6-6 before *
CVE List
advanced-cluster-security/rhacs-scanner-db-rhel8Not specified
Not affected: from 4.2.4-6 before *, from 3.74.8-9 before *, from 4.1.6-6 before *
CVE List
advanced-cluster-security/rhacs-scanner-db-slim-rhel8Not specified
Not affected: from 4.2.4-7 before *, from 3.74.8-9 before *, from 4.1.6-6 before *
CVE List
postgresql:13Not specified
Not affected: from 8090020231114113712.a75119d5 before *, from 8040020231127154806.522a0ee4 before *, from 8060020231114115246.ad008a3a before *, from 8080020231114105206.63b34585 before *
CVE List
postgresql:12Not specified
Not affected: from 8090020231128173330.a75119d5 before *, from 8020020231128165246.4cda2c84 before *, from 8040020231127153301.522a0ee4 before *, from 8060020231128165328.ad008a3a before *, from 8080020231128165335.63b34585 before *
CVE List
postgresql:15Not specified
Not affected: from 8090020231114113548.a75119d5 before *, from 8080020231113134015.63b34585 before *, from 9030020231120082734.rhel9 before *, from 9020020231115020618.rhel9 before *
CVE List
postgresqlNot specified
Not affected: from 0:13.13-1.el9_3 before *, from 0:13.13-1.el9_0 before *, from 0:13.13-1.el9_2 before *
CVE List
rh-postgresql12-postgresqlNot specified
Not affected: from 0:12.17-1.el7 before *
CVE List
rh-postgresql13-postgresqlNot specified
Not affected: from 0:13.13-1.el7 before *
CVE List
postgresql:10/postgresqlNot specifiedCVE List

All scores

redhat4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-686

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad de divulgación de memoria en PostgreSQL que permite a usuarios remotos acceder a información confidencial explotando ciertas llamadas a funciones agregadas con argumentos de tipo "desconocido". El manejo de valores de tipo "desconocido" de cadenas literales sin designación de tipo puede revelar bytes, lo que potencialmente revela información importante y confidencial. Este problema existe debido a una salida excesiva de datos en llamadas a funciones agregadas, lo que permite a los usuarios remotos leer una parte de la memoria del sistema.

References

https://access.redhat.com/errata/RHSA-2023:7545advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7579advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7580advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7581advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7616advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7656advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7666advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7667advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7694advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7695advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7714advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7770advisory, third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2023-5868 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-5868 changed 2026-11-24Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2023-5868 changed 2026-09-08Apache-2.0