Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2019-3466
Published: November 15, 2019
Vulnerability details
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.
Affected software
Zoho ManageEngine OpManager
postgresql-common (Ubuntu package)
postgresql-common (Debian package)
How to mitigate CVE-2019-3466
Zoho ManageEngine OpManager - update to 12.5 125127
postgresql-common (Ubuntu package) - addressed in versions 154ubuntu1.1+esm1, 173ubuntu0.3, 190ubuntu0.1, 199ubuntu0.1, 204ubuntu0.1
postgresql-common (Debian package) - addressed in versions 165+deb8u4, 181+deb9u3, 200+deb10u3