### [CVE-2019-3466](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3466) ![](https://img.shields.io/static/v1?label=Product&message=postgresql-common%20(Debian-specific%20Postgres%20management%20tools)&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Insufficient%20drop%20of%20privileges&color=brighgreen) ### Description The pg_ctlcluster script in postgresql-common in versions prior to 210 didn't drop privileges when creating socket/statistics temporary directories, which could result in local privilege escalation. ### POC #### Reference - https://blog.mirch.io/2019/11/15/cve-2019-3466-debian-ubuntu-pg_ctlcluster-privilege-escalation/ - https://blog.mirch.io/2019/11/15/cve-2019-3466-debian-ubuntu-pg_ctlcluster-privilege-escalation/ #### Github - https://github.com/mirchr/security-research