Description
The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths. Executables in the directory where the installer loads or the current working directory take precedence over the intended executables. An attacker having permission to add files into one of those directories can use this to execute arbitrary code with the installer's administrative rights.
Remediation
References
Related Vulnerabilities
Ruby Integer Overflow or Wraparound Vulnerability (CVE-2008-2663)
WordPress Plugin Embedded Video 'lembedded-video.php' Cross-Site Scripting (4.1)
PHP Loop with Unreachable Exit Condition ('Infinite Loop') Vulnerability (CVE-2018-10546)
Liferay Portal Inefficient Regular Expression Complexity Vulnerability (CVE-2022-42124)