ALPINE-CVE-2024-10977
Record from OSV · Published November 14, 2024
Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql16 | Alpine:v3.20 | 16.5-r0 |
| postgresql14 | Alpine:v3.18 | 14.14-r0 |
| postgresql14 | Alpine:v3.17 | 14.14-r0 |
| postgresql16 | Alpine:v3.19 | 16.5-r0 |
| postgresql17 | Alpine:v3.22 | 17.1-r0 |
| postgresql17 | Alpine:v3.21 | 17.1-r0 |
| postgresql15 | Alpine:v3.19 | 15.9-r0 |
| postgresql17 | Alpine:v3.23 | 17.1-r0 |
| postgresql16 | Alpine:v3.22 | 16.5-r0 |
| postgresql15 | Alpine:v3.18 | 15.9-r0 |
| postgresql16 | Alpine:v3.21 | 16.5-r0 |
| postgresql15 | Alpine:v3.20 | 15.9-r0 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.20 | postgresql16 | 16.0-r0, 16.2-r0, 16.2-r4 |
| Alpine:v3.18 | postgresql14 | 9.3.4-r0, 9.6.1-r1, 9.6.2-r1 |
| Alpine:v3.17 | postgresql14 | 9.4.1-r2, 14.4-r0, 14.4-r2 |
| Alpine:v3.19 | postgresql16 | 16.1-r0, 16.4-r0, 16.3-r0 |
| Alpine:v3.22 | postgresql17 | 17.0-r1, 0, 17.0-r0 |
| Alpine:v3.21 | postgresql17 | 17.0-r0, 17.0-r1, 0 |
| Alpine:v3.19 | postgresql15 | 15.4-r0, 15.3-r0, 15.2-r2 |
| Alpine:v3.23 | postgresql17 | 17.0-r1, 0, 17.0-r0 |
| Alpine:v3.22 | postgresql16 | 16.2-r1, 16.2-r0, 16.1-r0 |
| Alpine:v3.18 | postgresql15 | 0, 15.8-r0, 15.2-r1 |
| Alpine:v3.21 | postgresql16 | 16.2-r1, 16.2-r0, 16.1-r0 |
| Alpine:v3.20 | postgresql15 | 0, 15.8-r0, 15.7-r0 |
| Alpine:v3.17 | postgresql15 | 15.4-r0, 15.7-r0, 15.6-r0 |
| Alpine:v3.24 | postgresql17 | 0 |
Timeline
- Nov 14, 2024 CVE Published
- Jun 15, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2024-10977
vulnetix vdb fixes ALPINE-CVE-2024-10977
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-2024-10977/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart