CVE-2023-5868

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductPostgresql
PublishedDec 10, 2023
First seenDec 10, 2023
Weakness typeCWE-686CWE-686

How to fix

Affected products

ProductAffected versionsFixed in
postgresql postgresql11.0 ≤ v < 11.22, 12.0 ≤ v < 12.17, 13.0 ≤ v < 13.13, 14.0 ≤ v < 14.10, 15.0 ≤ v < 15.5, 16.011.22, 12.17, 13.13, 14.10, 15.5
redhat codeready_linux_builder_eus9.2—
redhat codeready_linux_builder_eus_for_power_little_endian_eus9.0_ppc64le, 9.2_ppc64le—
redhat codeready_linux_builder_for_arm64_eus8.6_aarch64, 9.0_aarch64, 9.2_aarch64—
redhat codeready_linux_builder_for_ibm_z_systems_eus9.0_s390x, 9.2_s390x—
redhat codeready_linux_builder_for_power_little_endian_eus9.0_ppc64le, 9.2_ppc64le—
redhat software_collections1.0—
redhat enterprise_linux8.0, 9.0—
redhat enterprise_linux_eus8.6, 8.8, 9.0, 9.2—
redhat enterprise_linux_for_arm_648.0, 8.8_aarch64—
redhat enterprise_linux_for_ibm_z_systems8.0_s390x—
redhat enterprise_linux_for_ibm_z_systems_eus8.6_s390x, 8.8_s390x, 9.0_s390x, 9.2_s390x—
redhat enterprise_linux_for_power_little_endian8.0_ppc64le—
redhat enterprise_linux_for_power_little_endian_eus8.6_ppc64le, 8.8_ppc64le, 9.0_ppc64le, 9.2_ppc64le—
redhat enterprise_linux_server_aus8.2, 8.4, 8.6, 9.2—
redhat enterprise_linux_server_tus8.2, 8.4, 8.6—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.