SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bo...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpostgresql-9.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpostgresql-9.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpostgresql-10 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpostgresql-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpostgresql-14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpostgresql-16 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10postgresql-18 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpostgresql-18 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report postgresql.org
- report postgresql.org