vulnerability

PostgreSQL: CVE-2023-39417: Extension script @substitutions@ within quoting allow SQL injection

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
2023-08-11
Added
2023-08-11
Modified
2025-01-30

Description

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.

Solution(s)

postgres-upgrade-13_12postgres-upgrade-14_9postgres-upgrade-15_4
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.