SQL Injection in PostgreSQL
CVE-2023-39417
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (76.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 76.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- PostgreSQL
- Debian Linux — versions 8.0, 11.0, 12.0
- Red Hat Advanced Cluster Security 4.2 — versions 4.2.4-6, 4.2.4-7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8 — versions 8090020231114113712.a75119d5, 8090020231128173330.a75119d5, 8090020231114113548.a75119d5
- Red Hat Enterprise Linux 8.2 Advanced Update Support — versions 8020020231128165246.4cda2c84
- Red Hat Enterprise Linux 8.2 Telecommunications Update Service — versions 8020020231128165246.4cda2c84
- Red Hat Enterprise Linux 8.2 Update Services For SAP Solutions — versions 8020020231128165246.4cda2c84
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — versions 8040020231127153301.522a0ee4, 8040020231127154806.522a0ee4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2023:7545 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7579 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7580 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7581 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7616 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7656 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7666 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7667 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7694 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2023:7695 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-39417?
- CVE-2023-39417 is a high-severity vulnerability in PostgreSQL, classified under SQL Injection. CVSS score: 7.5/10. Published 2023-08-11.
- How severe is CVE-2023-39417?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2023-39417 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.