Vulnerability identifier: #VU22785
Vulnerability risk: Low
Exploitation vector: Local
Exploit availability: No
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to pg_ctlcluster does not drop privileges before creating sockets and temporary directories outside "/var/run/postgresql". A local user can create arbitrary directories on the system during application startup or reload and elevate privileges on the system.
Install updates from vendor's website.
Vulnerable software versions
PostgreSQL: 11.0 - 11.5, 10.0 - 10.10, 9.6.0 - 9.6.15, 9.5.0 - 9.5.19, 9.4.0 - 9.4.24
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.