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
OpenSSL Key Management Errors Vulnerability (CVE-2018-0732)
WordPress Plugin Premium SEO Pack Security Bypass (1.9.1.3)
Apache Tomcat Loop with Unreachable Exit Condition ('Infinite Loop') Vulnerability (CVE-2018-1336)
Chamilo Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2022-27427)