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 | |
|---|---|---|
| Debian:12postgresql-15 |
< 15.20-0+deb12u1→ 15.20-0+deb12u1 |
15.20-0+deb12u1 |
| Debian:13postgresql-17 |
< 17.12-0+deb13u1→ 17.12-0+deb13u1 |
17.12-0+deb13u1 |
| Debian:14postgresql-18 |
< 18.7-1→ 18.7-1 |
18.7-1 |
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
- advisory security-tracker.debian.org