VDB

ALPINE-CVE-2023-39417

ALPINE-CVE-2023-39417 PUBLISHED CVSS 8.800000190734863 HIGH

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.

PackageEcosystemFixed in
postgresql15Alpine:v3.2015.4-r0
postgresql14Alpine:v3.1614.9-r0
postgresql13Alpine:v3.1613.12-r0
postgresql13Alpine:v3.1513.12-r0
postgresql14Alpine:v3.1514.9-r0
postgresql14Alpine:v3.1814.9-r0
postgresql15Alpine:v3.1815.4-r0
postgresql14Alpine:v3.1714.9-r0
postgresqlAlpine:v3.1413.12-r0
postgresql15Alpine:v3.1915.4-r0
postgresqlAlpine:v3.1313.12-r0
postgresql15Alpine:v3.1715.4-r0

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Alpine:v3.20postgresql1515.2-r2, 15.2-r0, 15.1-r1
Alpine:v3.16postgresql148.4.1-r1, 9.6.4-r1, 9.1.3-r0
Alpine:v3.16postgresql1313.6-r3, 13.8-r0, 13.7-r1
Alpine:v3.15postgresql130, 13.10-r0, 13.5-r1
Alpine:v3.15postgresql1410.3-r1, 0, 10.0-r0
Alpine:v3.18postgresql1410.1-r1, 10.0-r0, 0
Alpine:v3.18postgresql1515.1-r1, 15.2-r1, 15.1-r0
Alpine:v3.17postgresql1410.2-r0, 9.3.0-r1, 8.4.1-r1
Alpine:v3.14postgresql11.0, 0, 10.0-r1
Alpine:v3.19postgresql1515.2-r0, 15.1-r1, 15.1-r0
Alpine:v3.13postgresql9.5.2-r4, 9.2.0-r1, 11.5-r1
Alpine:v3.17postgresql1515.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›