Description
The core server component in PostgreSQL 8.4 before 8.4.1, 8.3 before 8.3.8, 8.2 before 8.2.14, 8.1 before 8.1.18, 8.0 before 8.0.22, and 7.4 before 7.4.26 does not use the appropriate privileges for the (1) RESET ROLE and (2) RESET SESSION AUTHORIZATION operations, which allows remote authenticated users to gain privileges. NOTE: this is due to an incomplete fix for CVE-2007-6600.
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 5.0 | postgresql-8.3 | 8.3.8-0lenny1 | DSA-1900-1 |
| Debian 4.0 | postgresql-7.4 | 1:7.4.26-0etch1 | DSA-1900-1 |
| Debian 4.0 | postgresql-8.1 | 8.1.18-0etch1 | DSA-1900-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | postgresql +9 | 8.1.18-2.el5_4.1 | RHSA-2009:1484 |
| RHEL 4 | postgresql +10 | 7.4.26-1.el4_8.1 | RHSA-2009:1484 |
| RHEL 3 | rh-postgresql +10 | 7.3.21-2 | RHSA-2009:1485 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 2 | httpd +2 | 2.2.13-2.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | mod_ssl | 1:2.2.13-2.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | mysql +6 | 5.0.84-2.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | perl-DBD-MySQL | 4.012-1.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | perl-DBI | 1.609-1.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | php +18 | 5.2.10-1.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | php-pear | 1:1.8.1-2.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | postgresql +11 | 8.2.14-1.el5s2 | RHSA-2009:1461 |
| Red Hat Rhel Application Stack 2 | postgresql-jdbc | 8.2.510-1jpp.el5s2 | RHSA-2009:1461 |
Advisories 4
- RHSA-2009:1484 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2009:1485 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1900-1 postgresql-7.4 postgresql-8.1 postgresql-8.3 - various problems Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2009:1461 Red Hat Security Advisory: Red Hat Application Stack v2.4 security and enhancement update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- ADV-2009-2602 vdb-entry
- FEDORA-2009-9474 vendor-advisory
- http://www.postgresql.org/docs/8.3/static/release-8-3-8.html
- 36314 vdb-entry
- HPSBMU02781 vendor-advisory
- 36837 third-party-advisory
- [pgsql-www] 20090909 Re: Incorrect CVE reference on security page mailing-list
- http://www.postgresql.org/support/security.html
- https://bugzilla.redhat.com/show_bug.cgi?id=522085
- 36660 third-party-advisory
- 20100307 rPSA-2010-0012-1 postgresql postgresql-contrib postgresql-server mailing-list
- 36800 third-party-advisory
- oval:org.mitre.oval:def:10166 vdb-entry signature
- DSA-1900 vendor-advisory
- FEDORA-2009-9473 vendor-advisory
- SUSE-SR:2009:016 vendor-advisory
- 270408 vendor-advisory
- 36727 third-party-advisory
- SUSE-SR:2009:017 vendor-advisory
- USN-834-1 vendor-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012
- 36695 third-party-advisory