CVE-2014-0060
PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 does not properly enforce the ADMIN OPTION restriction, which allows remote authenticated members of a role to add or remove arbitrary users to that role by calling the SET ROLE command before the associated GRANT command.
What to do
Fixed builds are available from Red Hat, 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 14.04 | postgresql-9.1 | Fixed | 9.1.12-1 | UBUNTU-CVE-2014-0060 |
| Ubuntu 14.04 | postgresql-9.3 | Fixed | 9.3.3-1 | UBUNTU-CVE-2014-0060 |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-contrib | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-plperl | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-plpython | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-pltcl | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-server | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-static | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-test | Not affected | ||
| Red Hat Enterprise Linux 7 | postgresql-upgrade | Not affected | ||
| Red Hat Enterprise Linux 6 | postgresql | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-contrib | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-devel | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-docs | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-libs | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-plperl | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-plpython | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-pltcl | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-server | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 6 | postgresql-test | Fixed | 0:8.4.20-1.el6_5 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-contrib | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-devel | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-docs | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-libs | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-pl | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-python | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-server | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-tcl | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql-test | Fixed | 0:8.1.23-10.el5_10 | RHSA-2014:0249 |
| Red Hat Enterprise Linux 5 | postgresql84 | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-contrib | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-devel | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-docs | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-libs | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-plperl | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-plpython | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-pltcl | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-python | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-server | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-tcl | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
| Red Hat Enterprise Linux 5 | postgresql84-test | Fixed | 0:8.4.20-1.el5_10 | RHSA-2014:0211 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2014-0211.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-0221.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-0469.html (vendor-advisory)
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html (vendor-advisory)
- http://www.debian.org/security/2014/dsa-2864 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2014-0249.html (vendor-advisory)
References
- http://rhn.redhat.com/errata/RHSA-2014-0211.html
- http://rhn.redhat.com/errata/RHSA-2014-0221.html
- http://support.apple.com/kb/HT6448
- http://rhn.redhat.com/errata/RHSA-2014-0469.html
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html
- http://wiki.postgresql.org/wiki/20140220securityrelease
- http://www.debian.org/security/2014/dsa-2864
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://rhn.redhat.com/errata/RHSA-2014-0249.html
- http://www.postgresql.org/about/news/1506/
- http://www.ubuntu.com/usn/USN-2120-1
- https://support.apple.com/kb/HT6536
- http://www.debian.org/security/2014/dsa-2865
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00018.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
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.