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.
{ "binaries": [ { "binary_name": "postgresql", "binary_version": "9.3+154ubuntu1.1+esm1" }, { "binary_name": "postgresql-client", "binary_version": "9.3+154ubuntu1.1+esm1" }, { "binary_name": "postgresql-client-common", "binary_version": "154ubuntu1.1+esm1" }, { "binary_name": "postgresql-common", "binary_version": "154ubuntu1.1+esm1" }, { "binary_name": "postgresql-contrib", "binary_version": "9.3+154ubuntu1.1+esm1" }, { "binary_name": "postgresql-server-dev-all", "binary_version": "154ubuntu1.1+esm1" } ], "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro" }
{ "binaries": [ { "binary_name": "postgresql", "binary_version": "9.5+173ubuntu0.3" }, { "binary_name": "postgresql-client", "binary_version": "9.5+173ubuntu0.3" }, { "binary_name": "postgresql-client-common", "binary_version": "173ubuntu0.3" }, { "binary_name": "postgresql-common", "binary_version": "173ubuntu0.3" }, { "binary_name": "postgresql-contrib", "binary_version": "9.5+173ubuntu0.3" }, { "binary_name": "postgresql-server-dev-all", "binary_version": "173ubuntu0.3" } ], "availability": "No subscription required" }
{ "binaries": [ { "binary_name": "postgresql", "binary_version": "10+190ubuntu0.1" }, { "binary_name": "postgresql-all", "binary_version": "10+190ubuntu0.1" }, { "binary_name": "postgresql-client", "binary_version": "10+190ubuntu0.1" }, { "binary_name": "postgresql-client-common", "binary_version": "190ubuntu0.1" }, { "binary_name": "postgresql-common", "binary_version": "190ubuntu0.1" }, { "binary_name": "postgresql-contrib", "binary_version": "10+190ubuntu0.1" }, { "binary_name": "postgresql-server-dev-all", "binary_version": "190ubuntu0.1" } ], "availability": "No subscription required" }