Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | postgresql-9.1 | 9.1.12-0wheezy1 | DSA-2865-1 |
| Debian 6.0 | postgresql-8.4 | 8.4.20-0squeeze1 | DSA-2864-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | postgresql-9.1 | 9.1.12-1 | — |
| Ubuntu 14.04 LTS | postgresql-9.3 | 9.3.3-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | postgresql +9 | 8.4.20-1.el6_5 | RHSA-2014:0211 |
| RHEL 5 | postgresql +9 | 8.1.23-10.el5_10 | RHSA-2014:0249 |
| RHEL 5 | postgresql84 +11 | 8.4.20-1.el5_10 | RHSA-2014:0211 |
| RHEL 1 | postgresql92-postgresql +10 | 9.2.7-1.1.el6 | RHSA-2014:0221 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat CloudForms 5 | cfme +3 | 5.2.3.2-1.el6cf | RHSA-2014:0469 |
| Red Hat CloudForms 5 | postgresql92-postgresql +10 | 9.2.7-1.1.el6 | RHSA-2014:0469 |
| Red Hat CloudForms 5 | prince | 9.0r2-4.el6cf | RHSA-2014:0469 |
| Red Hat CloudForms 5 | ruby193-rubygem-actionpack | 1:3.2.13-6.el6cf | RHSA-2014:0469 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql93 | 9.3.15-1.1 | openSUSE-SU-2024:10256-1 |
| openSUSE Tumbleweed | postgresql94 | 9.4.10-1.1 | openSUSE-SU-2024:10030-1 |
| openSUSE Tumbleweed | postgresql95 | 9.5.4-1.2 | openSUSE-SU-2024:10273-1 |
Advisories 9
- RHSA-2014:0469 Red Hat Security Advisory: cfme security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0249 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0221 Red Hat Security Advisory: postgresql92-postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0211 Red Hat Security Advisory: postgresql84 and postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2865-1 postgresql-9.1 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2864-1 postgresql-8.4 - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10030-1 postgresql94-9.4.10-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10273-1 libecpg6-32bit-9.5.4-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10256-1 postgresql93-9.3.15-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- RHSA-2014:0211 vendor-advisory
- RHSA-2014:0221 vendor-advisory
- http://support.apple.com/kb/HT6448
- RHSA-2014:0469 vendor-advisory
- APPLE-SA-2014-10-16-3 vendor-advisory
- http://wiki.postgresql.org/wiki/20140220securityrelease
- DSA-2864 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- RHSA-2014:0249 vendor-advisory
- http://www.postgresql.org/about/news/1506/
- USN-2120-1 vendor-advisory
- https://support.apple.com/kb/HT6536
- DSA-2865 vendor-advisory
- openSUSE-SU-2014:0345 vendor-advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- openSUSE-SU-2014:0368 vendor-advisory
- 61307 third-party-advisory
- https://puppet.com/security/cve/cve-2014-0060