CVE-2016-1255
The pg_ctlcluster script in postgresql-common package in Debian wheezy before 134wheezy5, in Debian jessie before 165+deb8u2, in Debian unstable before 178, in Ubuntu 12.04 LTS before 129ubuntu1.2, in Ubuntu 14.04 LTS before 154ubuntu1.1, in Ubuntu 16.04 LTS before 173ubuntu0.1, in Ubuntu 17.04 before 179ubuntu0.1, and in Ubuntu 17.10 before 184ubuntu1.1 allows local users to gain root privileges via a symlink attack on a logfile in /var/log/postgresql.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | postgresql-common | Fixed | 173ubuntu0.1 | UBUNTU-CVE-2016-1255 |
| Ubuntu 14.04 | postgresql-common | Fixed | 154ubuntu1.1 | UBUNTU-CVE-2016-1255 |
| Debian 14 | postgresql-common | Fixed | 178 | DEBIAN-CVE-2016-1255 |
| Debian 13 | postgresql-common | Fixed | 178 | DEBIAN-CVE-2016-1255 |
| Debian 12 | postgresql-common | Fixed | 178 | DEBIAN-CVE-2016-1255 |
What the vendor says
As published in the CVE record by debian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-3476-1 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-3476-2 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2017/01/msg00002.html
- http://www.ubuntu.com/usn/USN-3476-1
- https://anonscm.debian.org/cgit/pkg-postgresql/postgresql-common.git/commit/?id=c8989206ec360f199400c74f129f7b4cb878c1ee
- http://www.ubuntu.com/usn/USN-3476-2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.