What’s Vulnerable › Vulnerabilities

CVE-2023-5868: Postgresql: memory disclosure in aggregate function calls

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 products

How to fix

Upgrade to a fixed version: PostgreSQL 11.22, 12.17, 13.13, 14.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-5868 or the next vulnerability affects your stack