CVE-2023-39417
Postgresql: extension script @substitutions@ within quoting allow sql injection
8.8
HIGH
CVSS 3.1
EPSS 1.6%
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.
How to fix CVE-2023-39417
To remediate CVE-2023-39417, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 13.13-0+deb11u1 or later
- —upgrade to 15.5-0+deb12u1 or later
Is CVE-2023-39417 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 13.13-0+deb11u1
- from 0, < 15.5-0+deb12u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |