{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2009-4136",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "http://marc.info/?l=bugtraq&m=134124585221119&w=2",
                "refsource": "MISC",
                "name": "http://marc.info/?l=bugtraq&m=134124585221119&w=2"
            },
            {
                "url": "http://secunia.com/advisories/39820",
                "refsource": "MISC",
                "name": "http://secunia.com/advisories/39820"
            },
            {
                "url": "http://www.redhat.com/support/errata/RHSA-2010-0427.html",
                "refsource": "MISC",
                "name": "http://www.redhat.com/support/errata/RHSA-2010-0427.html"
            },
            {
                "url": "http://www.redhat.com/support/errata/RHSA-2010-0428.html",
                "refsource": "MISC",
                "name": "http://www.redhat.com/support/errata/RHSA-2010-0428.html"
            },
            {
                "url": "http://www.redhat.com/support/errata/RHSA-2010-0429.html",
                "refsource": "MISC",
                "name": "http://www.redhat.com/support/errata/RHSA-2010-0429.html"
            },
            {
                "url": "http://www.vupen.com/english/advisories/2010/1197",
                "refsource": "MISC",
                "name": "http://www.vupen.com/english/advisories/2010/1197"
            },
            {
                "url": "http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html",
                "refsource": "MISC",
                "name": "http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html"
            },
            {
                "url": "http://secunia.com/advisories/37663",
                "refsource": "MISC",
                "name": "http://secunia.com/advisories/37663"
            },
            {
                "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012",
                "refsource": "MISC",
                "name": "http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012"
            },
            {
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:333",
                "refsource": "MISC",
                "name": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:333"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-7-4-27.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-7-4-27.html"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-8-0-23.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-8-0-23.html"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-8-1-19.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-8-1-19.html"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-8-2-15.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-8-2-15.html"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-8-3-9.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-8-3-9.html"
            },
            {
                "url": "http://www.postgresql.org/docs/current/static/release-8-4-2.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/docs/current/static/release-8-4-2.html"
            },
            {
                "url": "http://www.postgresql.org/support/security.html",
                "refsource": "MISC",
                "name": "http://www.postgresql.org/support/security.html"
            },
            {
                "url": "http://www.securityfocus.com/archive/1/509917/100/0/threaded",
                "refsource": "MISC",
                "name": "http://www.securityfocus.com/archive/1/509917/100/0/threaded"
            },
            {
                "url": "http://www.vupen.com/english/advisories/2009/3519",
                "refsource": "MISC",
                "name": "http://www.vupen.com/english/advisories/2009/3519"
            },
            {
                "url": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01035.html",
                "refsource": "MISC",
                "name": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01035.html"
            },
            {
                "url": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01056.html",
                "refsource": "MISC",
                "name": "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01056.html"
            },
            {
                "url": "http://osvdb.org/61039",
                "refsource": "MISC",
                "name": "http://osvdb.org/61039"
            },
            {
                "url": "http://www.securityfocus.com/bid/37333",
                "refsource": "MISC",
                "name": "http://www.securityfocus.com/bid/37333"
            },
            {
                "url": "http://www.securitytracker.com/id?1023326",
                "refsource": "MISC",
                "name": "http://www.securitytracker.com/id?1023326"
            },
            {
                "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9358",
                "refsource": "MISC",
                "name": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9358"
            },
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=546321",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=546321"
            }
        ]
    }
}