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 package | Versions | Reported by |
|---|---|---|
| advanced-cluster-security/rhacs-central-db-rhel8 | Not 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-rhel8 | Not 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-bundle | Not 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-rhel8 | Not 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-rhel8 | Not specified Not affected: from 4.2.4-7 before *, from 3.74.8-9 before *, from 4.1.6-6 before * | CVE List |
| postgresql:13 | Not specified Not affected: from 8090020231114113712.a75119d5 before *, from 8040020231127154806.522a0ee4 before *, from 8060020231114115246.ad008a3a before *, from 8080020231114105206.63b34585 before * | CVE List |
| postgresql:12 | Not 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:15 | Not specified Not affected: from 8090020231114113548.a75119d5 before *, from 8080020231113134015.63b34585 before *, from 9030020231120082734.rhel9 before *, from 9020020231115020618.rhel9 before * | CVE List |
| postgresql | Not 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-postgresql | Not specified Not affected: from 0:12.17-1.el7 before * | CVE List |
| rh-postgresql13-postgresql | Not specified Not affected: from 0:13.13-1.el7 before * | CVE List |
| postgresql:10/postgresql | Not specified | CVE List |
| postgresql:16/postgresql | Not specified | CVE List |
| rh-postgresql10-postgresql | Not specified | CVE List |
| postgresql postgresql | from 11.0 before 11.22, from 12.0 before 12.17, from 13.0 before 13.13, from 14.0 before 14.10, from 15.0 before 15.5, 16.0 | NVD |
| redhat codeready_linux_builder_eus | 9.2 | NVD |
| redhat codeready_linux_builder_eus_for_power_little_endian_eus | 9.0_ppc64le, 9.2_ppc64le | NVD |
| redhat codeready_linux_builder_for_arm64_eus | 8.6_aarch64, 9.0_aarch64, 9.2_aarch64 | NVD |
| redhat codeready_linux_builder_for_ibm_z_systems_eus | 9.0_s390x, 9.2_s390x | NVD |
| redhat codeready_linux_builder_for_power_little_endian_eus | 9.0_ppc64le, 9.2_ppc64le | NVD |
| redhat software_collections | 1.0 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
| redhat enterprise_linux_eus | 8.6, 8.8, 9.0, 9.2 | NVD |
| redhat enterprise_linux_for_arm_64 | 8.0, 8.8_aarch64 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0_s390x | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.6_s390x, 8.8_s390x, 9.0_s390x, 9.2_s390x | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0_ppc64le | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 8.6_ppc64le, 8.8_ppc64le, 9.0_ppc64le, 9.2_ppc64le | NVD |
| redhat enterprise_linux_server_aus | 8.2, 8.4, 8.6, 9.2 | NVD |
| redhat enterprise_linux_server_tus | 8.2, 8.4, 8.6 | NVD |
| postgresql (Bitnami) | from 11.0.0 before 11.22.0, from 12.0.0 before 12.17.0, from 13.0.0 before 13.13.0, from 14.0.0 before 14.10.0, from 15.0.0 before 15.5.0, from 16.0.0 before 16.0.1 | Bitnami Vulnerability Database |
All scores
| redhat | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-5868 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2023-5868 changed 2026-11-24 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2023-5868 changed 2026-09-08 | Apache-2.0 |