ALPINE-CVE-2023-5868
Record from OSV · Published December 10, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql14 | Alpine:v3.17 | 14.10-r0 |
| postgresql16 | Alpine:v3.19 | 16.1-r0 |
| postgresql16 | Alpine:v3.22 | 16.1-r0 |
| postgresql15 | Alpine:v3.18 | 15.5-r0 |
| postgresql14 | Alpine:v3.18 | 14.10-r0 |
| postgresql16 | Alpine:v3.20 | 16.1-r0 |
| postgresql15 | Alpine:v3.20 | 15.5-r0 |
| postgresql14 | Alpine:v3.15 | 14.10-r0 |
| postgresql15 | Alpine:v3.19 | 15.5-r0 |
| postgresql14 | Alpine:v3.16 | 14.10-r0 |
| postgresql16 | Alpine:v3.21 | 16.1-r0 |
| postgresql15 | Alpine:v3.17 | 15.5-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.17 | postgresql14 | 13.1-r2, 14.0-r3, 8.4.3-r0 |
| Alpine:v3.19 | postgresql16 | 0, 16.0-r0, 16.0-r1 |
| Alpine:v3.22 | postgresql16 | 0, 16.0-r0, 16.0-r1 |
| Alpine:v3.18 | postgresql15 | 15.3-r0, 15.2-r2, 15.4-r0 |
| Alpine:v3.18 | postgresql14 | 9.2.1-r1, 0, 10.0-r1 |
| Alpine:v3.20 | postgresql16 | 16.0-r1, 0, 16.0-r0 |
| Alpine:v3.20 | postgresql15 | 15.4-r0, 0, 15.1-r0 |
| Alpine:v3.15 | postgresql14 | 8.4.1-r0, 0, 10.0-r0 |
| Alpine:v3.19 | postgresql15 | 15.1-r1, 15.2-r0, 15.2-r1 |
| Alpine:v3.16 | postgresql14 | 9.6.1-r0, 9.6.2-r3, 9.6.5-r0 |
| Alpine:v3.21 | postgresql16 | 16.0-r1, 16.0-r2, 16.0-r0 |
| Alpine:v3.17 | postgresql15 | 15.3-r0, 15.4-r0, 15.1-r0 |
Timeline
- Dec 10, 2023 CVE Published
- Aug 7, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2023-5868
vulnetix vdb fixes ALPINE-CVE-2023-5868
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2023-5868/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart