CVE-2023-39417: debian debian_linux SQL Injection
Vulnerability summary
CVE-2023-39417 is a high (CVSS 8.8) SQL Injection vulnerability in debian debian_linux. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 24 · Related 3Timeline
- 11-08-2023PublishedVulnerability first disclosed.
- 30-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.68%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.68% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse22 products
- postgresql12&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 12.16-150100.3.44.1
- postgresql12&distro=SUSE Linux Enterprise Server 12 SP5< 12.16-3.42.1
- postgresql12&distro=SUSE Linux Enterprise Server 15 SP1-LTSS< 12.16-150100.3.44.1
- postgresql12&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 12.16-3.42.1
- postgresql12&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP1< 12.16-150100.3.44.1
Opensuse10 products
- postgresql11&distro=openSUSE Tumbleweed< 11.21-1.1
- postgresql12&distro=openSUSE Leap 15.4< 12.16-150200.8.47.1
- postgresql12&distro=openSUSE Leap 15.5< 12.16-150200.8.47.1
- postgresql12&distro=openSUSE Tumbleweed< 12.16-1.1
- postgresql13&distro=openSUSE Leap 15.4< 13.12-150200.5.43.1
Ubuntu5 products
- postgresql-10All versions (No fix recorded)
- postgresql-12< 12.16-0ubuntu0.20.04.1
- postgresql-14< 14.9-0ubuntu0.22.04.1
- postgresql-9.3All versions (No fix recorded)
- postgresql-9.5< 9.5.25-0ubuntu0.16.04.1+esm5
Alpine4 products
- postgresql≥ 11.0, < 13.12-r0
- postgresql13< 13.12-r0
- postgresql14< 14.9-r0
- postgresql15< 15.4-r0
Debian4 products
- pgextwlist< 1.15-2+deb12u1 | < 1.19-1+deb13u1 | < 1.20-1
- postgresql-11< 11.21-0+deb10u2
- postgresql-15< 15.5-0+deb12u1
- debian_linuxEOL8.0 | 11.0 | 12.0
Redhat2 products
- enterprise_linux8.0 | 9.0
- software_collectionsna
Postgresql1 product
- postgresql≥ 11.0, < 11.21 | ≥ 12.0, < 12.16 | ≥ 13.0, < 13.12 | ≥ 14.0, < 14.9 | ≥ 15.0, < 15.4
7 vendors · 48 products
References
51 linksShow all 51 references
- security.netapp.com/advisory/ntap-20230915-0002/X Transferred
- www.debian.org/security/2023/dsa-5553X Transferred
- www.debian.org/security/2023/dsa-5554X Transferred