ALPINE-CVE-2023-39417
Record from OSV · Published August 11, 2023
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql15 | Alpine:v3.20 | 15.4-r0 |
| postgresql14 | Alpine:v3.16 | 14.9-r0 |
| postgresql13 | Alpine:v3.16 | 13.12-r0 |
| postgresql13 | Alpine:v3.15 | 13.12-r0 |
| postgresql14 | Alpine:v3.15 | 14.9-r0 |
| postgresql14 | Alpine:v3.18 | 14.9-r0 |
| postgresql15 | Alpine:v3.18 | 15.4-r0 |
| postgresql14 | Alpine:v3.17 | 14.9-r0 |
| postgresql | Alpine:v3.14 | 13.12-r0 |
| postgresql15 | Alpine:v3.19 | 15.4-r0 |
| postgresql | Alpine:v3.13 | 13.12-r0 |
| postgresql15 | Alpine:v3.17 | 15.4-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.20 | postgresql15 | 15.2-r2, 15.2-r0, 15.1-r1 |
| Alpine:v3.16 | postgresql14 | 8.4.1-r1, 9.6.4-r1, 9.1.3-r0 |
| Alpine:v3.16 | postgresql13 | 13.6-r3, 13.8-r0, 13.7-r1 |
| Alpine:v3.15 | postgresql13 | 0, 13.10-r0, 13.5-r1 |
| Alpine:v3.15 | postgresql14 | 10.3-r1, 0, 10.0-r0 |
| Alpine:v3.18 | postgresql14 | 10.1-r1, 10.0-r0, 0 |
| Alpine:v3.18 | postgresql15 | 15.1-r1, 15.2-r1, 15.1-r0 |
| Alpine:v3.17 | postgresql14 | 10.2-r0, 9.3.0-r1, 8.4.1-r1 |
| Alpine:v3.14 | postgresql | 11.0, 0, 10.0-r1 |
| Alpine:v3.19 | postgresql15 | 15.2-r0, 15.1-r1, 15.1-r0 |
| Alpine:v3.13 | postgresql | 9.5.2-r4, 9.2.0-r1, 11.5-r1 |
| Alpine:v3.17 | postgresql15 | 15.2-r0, 15.1-r0, 15.3-r0 |
Timeline
- Aug 11, 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-39417
vulnetix vdb fixes ALPINE-CVE-2023-39417
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-39417/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart