CVE-2023-39417 (published 2023-08-11T12:19:15.108Z)
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 products: Vendor: n/a
Product: postgresql
Versions: 11.21, 12.16, 13.12, 14.9, 15.4