{"id":"UBUNTU-CVE-2017-8806","details":"The Debian pg_ctlcluster, pg_createcluster, and pg_upgradecluster scripts, as distributed in the Debian postgresql-common package before 181+deb9u1 for PostgreSQL (and other packages related to Debian and Ubuntu), handled symbolic links insecurely, which could result in local denial of service by overwriting arbitrary files.","modified":"2026-01-30T02:05:07.900913Z","published":"2017-11-09T00:00:00Z","related":["USN-3476-1","USN-3476-2"],"upstream":["CVE-2017-8806"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-8806"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3476-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3476-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-8806"}],"affected":[{"package":{"name":"postgresql-common","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/postgresql-common@154ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"154ubuntu1.1"}]}],"versions":["148","150","151","152","153","153bzr1","154","154ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"postgresql","binary_version":"9.3+154ubuntu1.1"},{"binary_name":"postgresql-client","binary_version":"9.3+154ubuntu1.1"},{"binary_name":"postgresql-client-common","binary_version":"154ubuntu1.1"},{"binary_name":"postgresql-common","binary_version":"154ubuntu1.1"},{"binary_name":"postgresql-contrib","binary_version":"9.3+154ubuntu1.1"},{"binary_name":"postgresql-server-dev-all","binary_version":"154ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-8806.json"}},{"package":{"name":"postgresql-common","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/postgresql-common@173ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"173ubuntu0.1"}]}],"versions":["169git1","170","171","172","172ubuntu1","173"],"ecosystem_specific":{"binaries":[{"binary_name":"postgresql","binary_version":"9.5+173ubuntu0.1"},{"binary_name":"postgresql-client","binary_version":"9.5+173ubuntu0.1"},{"binary_name":"postgresql-client-common","binary_version":"173ubuntu0.1"},{"binary_name":"postgresql-common","binary_version":"173ubuntu0.1"},{"binary_name":"postgresql-contrib","binary_version":"9.5+173ubuntu0.1"},{"binary_name":"postgresql-server-dev-all","binary_version":"173ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-8806.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}