Description
The "make check" command for the test suites in PostgreSQL 9.3.3 and earlier does not properly invoke initdb to specify the authentication requirements for a database cluster to be used for the tests, which allows local users to gain privileges by leveraging access to this cluster.
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, DLA-0019-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | postgresql-9.1 | 9.1.15-0ubuntu0.14.04 | — |
| Ubuntu 14.04 LTS | postgresql-9.3 | 9.3.5-0ubuntu0.14.04.1 | — |
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 7
- 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
- DLA-0019-1 postgresql-8.4 - new upstream minor release 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
- NCSC-2025-0041 Kwetsbaarheden verholpen in F5 BIG-IP NCSC-NL (Netherlands) · Feb 11, 2025
References
- http://wiki.postgresql.org/wiki/20140220securityrelease
- DSA-2864 vendor-advisory
- http://www.postgresql.org/about/news/1506/
- APPLE-SA-2015-08-13-2 vendor-advisory
- DSA-2865 vendor-advisory
- openSUSE-SU-2014:0345 vendor-advisory
- 65721 vdb-entry
- https://support.apple.com/kb/HT205031
- APPLE-SA-2015-09-16-4 vendor-advisory
- openSUSE-SU-2014:0368 vendor-advisory
- https://support.apple.com/HT205219