CVE-2023-39417
postgresql-13 - security update
8.8
HIGH
CVSS 3.1
EPSS 0.66%
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.
- —upgrade to 13.12-r0 or later
- —upgrade to 13.12-r0 or later
- —upgrade to 14.9-r0 or later
- —upgrade to 15.4-r0 or later
- —upgrade to 11.21.0 or later
- —upgrade to 11.21-0+deb10u2 or later
- —upgrade to 13.13-0+deb11u1 or later
- —upgrade to 13.13-0+deb11u1 or later
- —upgrade to 15.5-0+deb12u1 or later
- —upgrade to 15.5-0+deb12u1 or later
Is CVE-2023-39417 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (10)
- from 0, < 13.12-r0
- from 0, < 13.12-r0
- from 0, < 14.9-r0
- from 0, < 15.4-r0
- >= 11.0.0, < 11.21.0, >= 12.0.0, < 12.16.0, >= 13.0.0, < 13.12.0, >= 14.0.0, < 14.9.0, >= 15.0.0, < 15.4.0
- from 0, < 11.21-0+deb10u2
- from 0, < 13.13-0+deb11u1
- from 0, < 13.13-0+deb11u1
- from 0, < 15.5-0+deb12u1
- 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 |