{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2005-0247",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Multiple buffer overflows in gram.y for PostgreSQL 8.0.1 and earlier may allow attackers to execute arbitrary code via (1) a large number of variables in a SQL statement being handled by the read_sql_construct function, (2) a large number of INTO variables in a SELECT statement being handled by the make_select_stmt function, (3) a large number of arbitrary variables in a SELECT statement being handled by the make_select_stmt function, and (4) a large number of INTO variables in a FETCH statement being handled by the make_fetch_stmt function, a different set of vulnerabilities than CVE-2005-0245."
            }
        ]
    },
    "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=110806034116082&w=2",
                "refsource": "MISC",
                "name": "http://marc.info/?l=bugtraq&m=110806034116082&w=2"
            },
            {
                "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2005:040",
                "refsource": "MISC",
                "name": "http://www.mandriva.com/security/advisories?name=MDKSA-2005:040"
            },
            {
                "url": "http://www.novell.com/linux/security/advisories/2005_36_sudo.html",
                "refsource": "MISC",
                "name": "http://www.novell.com/linux/security/advisories/2005_36_sudo.html"
            },
            {
                "url": "http://www.redhat.com/support/errata/RHSA-2005-138.html",
                "refsource": "MISC",
                "name": "http://www.redhat.com/support/errata/RHSA-2005-138.html"
            },
            {
                "url": "http://www.securityfocus.com/bid/12417",
                "refsource": "MISC",
                "name": "http://www.securityfocus.com/bid/12417"
            },
            {
                "url": "http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php",
                "refsource": "MISC",
                "name": "http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php"
            },
            {
                "url": "http://www.debian.org/security/2005/dsa-683",
                "refsource": "MISC",
                "name": "http://www.debian.org/security/2005/dsa-683"
            },
            {
                "url": "http://www.redhat.com/support/errata/RHSA-2005-150.html",
                "refsource": "MISC",
                "name": "http://www.redhat.com/support/errata/RHSA-2005-150.html"
            },
            {
                "url": "http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml",
                "refsource": "MISC",
                "name": "http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml"
            },
            {
                "url": "http://www.novell.com/linux/security/advisories/2005_27_postgresql.html",
                "refsource": "MISC",
                "name": "http://www.novell.com/linux/security/advisories/2005_27_postgresql.html"
            },
            {
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19375",
                "refsource": "MISC",
                "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19375"
            },
            {
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19376",
                "refsource": "MISC",
                "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19376"
            },
            {
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19377",
                "refsource": "MISC",
                "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19377"
            },
            {
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19378",
                "refsource": "MISC",
                "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/19378"
            },
            {
                "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345",
                "refsource": "MISC",
                "name": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9345"
            }
        ]
    }
}