Skip to content
OpenAdvisories
Unscored CVE-2009-4136 EUVD-2009-4106GHSA-p8jm-5754-gqxq

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 d…

Published Dec 15, 2009 · Updated Aug 7, 2024 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

References