CVE-2023-39417: IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extsche
CVE-2023-39417 is a high-severity flaw (CVSS 7.5) affecting postgresql, software collections, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2023-08-11 |
| Last modified | 2026-11-01 |
Last updated 2026-11-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- GitLab Security Releases: GitLab Security Release: 16.6.1, 16.5.3, 16.4.3 2023-11-30
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-39417?
postgresql: upgrade to 11.21, 12.16, 13.12, 14.9, 15.4; software collections: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-39417 being exploited?
CVE-2023-39417 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-39417 affect?
CVE-2023-39417 affects postgresql, software collections, enterprise linux. Severity is high (CVSS 7.5). 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 vulne
How urgent is CVE-2023-39417?
Priority 50/100. High severity; On your watchlist
Software pages
PostgreSQL vulnerabilities · Debian vulnerabilities · Bootstrap vulnerabilities
Related CVEs
- CVE-2017-12172 MEDIUM 6.7 DOWNGRADE PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20
- CVE-2018-1115 CRITICAL 9.1 UPGRADE MITIGATE postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rot
- CVE-2026-6471 HIGH 7.2 UPGRADE Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to d
- CVE-2026-6470 MEDIUM 4.3 UPGRADE Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against
- CVE-2026-6469 LOW 3.8 UPGRADE Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent s