postgresql: SQL privilege escalation via modifications to session-local state
Published Dec 15, 2009
6.5
MEDIUMCVSS 2.0
EPSS 3.64%
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.
Affected products
No data.
- 7.4.1
- 7.4.2
- 7.4.3
- 7.4.4
- 7.4.5
- 7.4.6
- 7.4.7
- 7.4.8
- 7.4.9
- 7.4.10
- 7.4.11
- 7.4.12
- 7.4.13
- 7.4.14
- 7.4.15
- 7.4.16
- 7.4.17
- 7.4.18
- 7.4.19
- 7.4.20
- 7.4.21
- 7.4.22
- 7.4.23
- 7.4.24
- 7.4.25
- 7.4.26
- 8.0.0
- 8.0.1
- 8.0.2
- 8.0.3
- 8.0.4
- 8.0.5
- 8.0.6
- 8.0.7
- 8.0.8
- 8.0.9
- 8.0.10
- 8.0.11
- 8.0.12
- 8.0.13
- 8.0.14
- 8.0.15
- 8.0.16
- 8.0.17
- 8.0.18
- 8.0.19
- 8.0.20
- 8.0.21
- 8.0.22
- 8.1.0
- 8.1.1
- 8.1.2
- 8.1.3
- 8.1.4
- 8.1.5
- 8.1.6
- 8.1.7
- 8.1.8
- 8.1.9
- 8.1.10
- 8.1.11
- 8.1.12
- 8.1.13
- 8.1.14
- 8.1.15
- 8.1.16
- 8.1.17
- 8.1.18
- 8.2
- 8.2.1
- 8.2.2
- 8.2.3
- 8.2.4
- 8.2.5
- 8.2.6
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.10
- 8.2.11
- 8.2.12
- 8.2.13
- 8.2.14
- 8.3.1
- 8.3.2
- 8.3.3
- 8.3.4
- 8.3.5
- 8.3.6
- 8.3.7
- 8.3.8
- 8.4.1
No data.
Red Hat Enterprise Linux 3
rh-postgresql-0:7.3.21-3
Fixed · RHSA-2010:0427
Red Hat Enterprise Linux 4
postgresql-0:7.4.29-1.el4_8.1
Fixed · RHSA-2010:0428
Red Hat Enterprise Linux 5
postgresql-0:8.1.21-1.el5_5.1
Fixed · RHSA-2010:0429
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | rh-postgresql-0:7.3.21-3 | Fixed | RHSA-2010:0427 |
| Red Hat Enterprise Linux 4 | postgresql-0:7.4.29-1.el4_8.1 | Fixed | RHSA-2010:0428 |
| Red Hat Enterprise Linux 5 | postgresql-0:8.1.21-1.el5_5.1 | Fixed | RHSA-2010:0429 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:S/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.64% (0.03644) | 89.22th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.64% (0.03644) | 88.09th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.58% (0.01579) | 79.87th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.31% (0.04307) | 81.12th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.58% (0.01579) | 80.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.34% (0.02342) | 90.16th | v3 (v2023.03.01) |
| May 3, 2024 | 2.34% (0.02342) | 89.70th | v3 (v2023.03.01) |
| Feb 2, 2024 | 2.37% (0.02373) | 88.79th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.74% (0.02736) | 88.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 9.09% (0.09085) | 94.15th | v2 (v2022.01.01) |
| Feb 13, 2023 | 9.09% (0.09085) | 93.94th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.55% (0.01547) | 74.40th | v2 (v2022.01.01) |
| Apr 1, 2022 | 9.09% (0.09085) | 93.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 9.09% (0.09085) | 86.88th | v2 (v2022.01.01) |
No CWE recorded.
References (29)
- http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=134124585221119&w=2 vendor-advisoryx_refsource_HP
- http://osvdb.org/61039 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/37663 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/39820 third-party-advisoryx_refsource_SECUNIA
- http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:333 vendor-advisoryx_refsource_MANDRIVA
- http://www.postgresql.org/docs/current/static/release-7-4-27.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/docs/current/static/release-8-0-23.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/docs/current/static/release-8-1-19.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/docs/current/static/release-8-2-15.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/docs/current/static/release-8-3-9.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/docs/current/static/release-8-4-2.html x_refsource_CONFIRMPatchVendor Advisory
- http://www.postgresql.org/support/security.html x_refsource_CONFIRMVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0427.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2010-0428.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2010-0429.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/archive/1/509917/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/37333 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id?1023326 vdb-entryx_refsource_SECTRACK
- http://www.vupen.com/english/advisories/2009/3519 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2010/1197 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2009-4136 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=546321 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2009-4136
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9358 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2009-4136
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01035.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01056.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.