Description
PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly manage session-local state during execution of an index function by a database superuser, which allows remote authenticated users to gain privileges via a table with crafted index functions, as demonstrated by functions that modify (1) search_path or (2) a prepared statement, a related issue to CVE-2007-6600 and CVE-2009-3230.
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.9-0lenny1 | DSA-1964-1 |
| Debian 4.0 | postgresql-7.4 | 1:7.4.27-0etch1 | DSA-1964-1 |
| Debian 4.0 | postgresql-8.1 | 8.1.19-0etch1 | DSA-1964-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | postgresql +9 | 8.1.21-1.el5_5.1 | RHSA-2010:0429 |
| RHEL 4 | postgresql +10 | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| RHEL 3 | rh-postgresql +10 | 7.3.21-3 | RHSA-2010:0427 |
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
- RHSA-2010:0429 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0428 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0427 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1964-1 postgresql-7.4 postgresql-8.1 postgresql-8.3 - several vulnerabilities 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-2010:0427 vendor-advisory
- RHSA-2010:0428 vendor-advisory
- HPSBMU02781 vendor-advisory
- 1023326 vdb-entry
- 39820 third-party-advisory
- http://www.postgresql.org/docs/current/static/release-8-2-15.html
- https://bugzilla.redhat.com/show_bug.cgi?id=546321
- FEDORA-2009-13363 vendor-advisory
- http://www.postgresql.org/support/security.html
- oval:org.mitre.oval:def:9358 vdb-entry signature
- http://www.postgresql.org/docs/current/static/release-8-4-2.html
- http://www.postgresql.org/docs/current/static/release-8-0-23.html
- 20100307 rPSA-2010-0012-1 postgresql postgresql-contrib postgresql-server mailing-list
- SUSE-SR:2010:001 vendor-advisory
- http://www.postgresql.org/docs/current/static/release-8-3-9.html
- FEDORA-2009-13381 vendor-advisory
- MDVSA-2009:333 vendor-advisory
- http://www.postgresql.org/docs/current/static/release-7-4-27.html
- ADV-2009-3519 vdb-entry
- 61039 vdb-entry
- http://www.postgresql.org/docs/current/static/release-8-1-19.html
- 37663 third-party-advisory
- 37333 vdb-entry
- RHSA-2010:0429 vendor-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012
- ADV-2010-1197 vdb-entry