CVE-2009-4136
publishedpostgresql: SQL privilege escalation via modifications to session-local state
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | etch | postgresql-7.4 | Advisory build | 1:7.4.27-0etch1 | DSA-1964-1 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Debian | etch | postgresql-8.1 | Advisory build | 8.1.19-0etch1 | DSA-1964-1 |
| Debian | lenny | postgresql-8.3 | Advisory build | 8.3.9-0lenny1 | DSA-1964-1 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlsrc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribs390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribs390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoppc64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfos390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfos390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfox86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-devels390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-devels390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docss390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docss390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbci386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcs390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcs390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsppc64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libss390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libss390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythoni386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythons390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythons390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serveri386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serveria64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serverppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-servers390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-servers390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serverx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tests390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tests390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqli386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqls390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqls390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlsrc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlx86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribs390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribs390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribx86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoppc64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfos390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfos390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfox86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-develi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-develia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
26- SUSE-SR:2010:001 http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html
- HPSBMU02781 http://marc.info/?l=bugtraq&m=134124585221119&w=2
- 61039 http://osvdb.org/61039
- 37663 http://secunia.com/advisories/37663
- 39820 http://secunia.com/advisories/39820
- http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012
- MDVSA-2009:333 http://www.mandriva.com/security/advisories?name=MDVSA-2009:333
- http://www.postgresql.org/docs/current/static/release-7-4-27.html
- http://www.postgresql.org/docs/current/static/release-8-0-23.html
- http://www.postgresql.org/docs/current/static/release-8-1-19.html
- http://www.postgresql.org/docs/current/static/release-8-2-15.html
- http://www.postgresql.org/docs/current/static/release-8-3-9.html
- http://www.postgresql.org/docs/current/static/release-8-4-2.html
- http://www.postgresql.org/support/security.html
- RHSA-2010:0427 http://www.redhat.com/support/errata/RHSA-2010-0427.html
- RHSA-2010:0428 http://www.redhat.com/support/errata/RHSA-2010-0428.html
- RHSA-2010:0429 http://www.redhat.com/support/errata/RHSA-2010-0429.html
- 20100307 rPSA-2010-0012-1 postgresql postgresql-contrib postgresql-server http://www.securityfocus.com/archive/1/509917/100/0/threaded
- 37333 http://www.securityfocus.com/bid/37333
- 1023326 http://www.securitytracker.com/id?1023326
- ADV-2009-3519 http://www.vupen.com/english/advisories/2009/3519
- ADV-2010-1197 http://www.vupen.com/english/advisories/2010/1197
- https://bugzilla.redhat.com/show_bug.cgi?id=546321
- oval:org.mitre.oval:def:9358 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9358
- FEDORA-2009-13363 https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01035.html
- FEDORA-2009-13381 https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01056.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d25581d1b02fbb29a7783294a2cd90fdcdb16a95dd609af93c55c6a8f2e5009f
- Ingested
- 23 Sep 2026, 07:38:41 UTC
- Source record
- Official CVE record