Original 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.
Affected software
- PostgreSQL ≥ 12.0 < 12.16≥ 14.0 < 14.9≥ 11.0 < 11.21≥ 13.0 < 13.12≥ 15.0 < 15.4 Fixed in: 12.16, 14.9, 11.21, 13.12 exact match
Details
- Published
- 2023-08-11
- Last modified
- 2026-11-07
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 1.63% (percentile 77)
References
- cve.org/CVE-2023-39417
- nvd.nist.gov/vuln/detail/CVE-2023-39417
- access.redhat.com/errata/RHSA-2023:7545
- access.redhat.com/errata/RHSA-2023:7579
- access.redhat.com/errata/RHSA-2023:7580
- access.redhat.com/errata/RHSA-2023:7581
- access.redhat.com/errata/RHSA-2023:7616
- access.redhat.com/errata/RHSA-2023:7656
- access.redhat.com/errata/RHSA-2023:7666
- access.redhat.com/errata/RHSA-2023:7667
- access.redhat.com/errata/RHSA-2023:7694
- access.redhat.com/errata/RHSA-2023:7695
- access.redhat.com/errata/RHSA-2023:7714
- access.redhat.com/errata/RHSA-2023:7770
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.