Description
It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension. This affects PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23.
Remediation
References
Related Vulnerabilities
WordPress Plugin Ajax Pagination (twitter Style) Local File Inclusion (1.1)
WordPress Plugin Spotlight Social Feeds [Block, Shortcode, and Widget] Security Bypass (0.10.1)
Python Untrusted Search Path Vulnerability (CVE-2008-5983)
Django Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2014-0472)
Beego Framework Improper Certificate Validation Vulnerability (CVE-2024-40464)