SARA / Free Tools / CVE / CVE-2023-39417

CVE-2023-39417 — IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL i

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-

CVSS
7.5 HIGH
EPSS
61.00% (top 30.70%)
CWE
CWE-89
Published
2023-08-11T12:19:15.108Z
Last modified
2026-03-12T06:14:20.423Z
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

01What is this vulnerability?

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.

02Affected products

VendorProductVersions
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-7
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-7
Red HatRed Hat Enterprise Linux 88090020231114113712.a75119d5
Red HatRed Hat Enterprise Linux 88090020231128173330.a75119d5
Red HatRed Hat Enterprise Linux 88090020231114113548.a75119d5
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Service8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127153301.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127154806.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service8040020231127153301.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Telecommunications Update Service8040020231127154806.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020231127153301.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020231127154806.522a0ee4
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support8060020231114115246.ad008a3a
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support8060020231128165328.ad008a3a
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support8080020231114105206.63b34585
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support8080020231128165335.63b34585
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support8080020231113134015.63b34585
Red HatRed Hat Enterprise Linux 90:13.13-1.el9_3
Red HatRed Hat Enterprise Linux 99030020231120082734.rhel9
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support0:13.13-1.el9_0
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support0:13.13-1.el9_2
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support9020020231115020618.rhel9
Red HatRed Hat Software Collections for Red Hat Enterprise Linux 70:12.17-1.el7
Red HatRed Hat Software Collections for Red Hat Enterprise Linux 70:13.13-1.el7
Red HatRHACS3.74-RHEL-8 — 3.74.8-9
Red HatRHACS3.74-RHEL-8 — 3.74.8-9
Red HatRHACS3.74-RHEL-8 — 3.74.8-7
Red HatRHACS3.74-RHEL-8 — 3.74.8-9
Red HatRHACS3.74-RHEL-8 — 3.74.8-9
Red HatRHACS4.1-RHEL-8 — 4.1.6-6
Red HatRHACS4.1-RHEL-8 — 4.1.6-6
Red HatRHACS4.1-RHEL-8 — 4.1.6-6
Red HatRHACS4.1-RHEL-8 — 4.1.6-6
Red HatRHACS4.1-RHEL-8 — 4.1.6-6
Red HatRed Hat Enterprise Linux 6unspecified
Red HatRed Hat Enterprise Linux 7unspecified
Red HatRed Hat Enterprise Linux 8unspecified
Red HatRed Hat Software Collectionsunspecified

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:

Open in Sigma generator →

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →