CVE intelligence and bounded remediation

CVE-2023-5868 — Postgresql Postgresql security vulnerability

Medium CVSS 4.3

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.

Severity
Medium
CVSS
4.3 (3.1)
Published
2023-12-10
CISA KEV
Not currently listed
Ecosystem
software/application
Weaknesses
CWE-686

Affected products

  • postgresql / postgresql
  • postgresql / postgresql / 16.0
  • redhat / codeready_linux_builder_eus / 9.2
  • redhat / codeready_linux_builder_eus_for_power_little_endian_eus / 9.0_ppc64le
  • redhat / codeready_linux_builder_eus_for_power_little_endian_eus / 9.2_ppc64le
  • redhat / codeready_linux_builder_for_arm64_eus / 8.6_aarch64

Showing 6 representative product identities from 42 source matches. Confirm exact affected versions with the linked vendor and NVD evidence.

Matched remediation archetype

Information disclosure and sensitive data exposure

This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.

Check exposure

  • Trace sensitive data through responses, errors, logs, metrics, traces, caches, exports, files, backups, and client bundles.
  • Identify affected subjects, tenants, retention windows, access controls, and downstream copies without opening unnecessary sensitive records.
  • Review metadata, timing, status, length, and existence signals as well as direct content disclosure.

Remediate safely

  • Minimize collection and output, apply field-level authorization and redaction at a centralized boundary, and return generic external errors.
  • Remove secrets and sensitive data from logs, artifacts, URLs, caches, and client-side bundles; rotate credentials that may have been exposed.
  • Update the affected component and add synthetic-data tests for response, error, observability, and export paths.

Authoritative sources

Complete CVE record and remediation plan

The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.