{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2012-1162",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a zip archive with the number of directories set to 0, related to an \"incorrect loop construct.\""
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "[libzip-discuss] 20120320 libzip-0.10.1 security fix release",
                "refsource": "MLIST",
                "url": "http://nih.at/listarchive/libzip-discuss/msg00252.html"
            },
            {
                "name": "[oss-security] 20120321 CVE-2012-1162 / -1163: Incorrect loop construct and numeric  overflow in libzip",
                "refsource": "MLIST",
                "url": "http://www.openwall.com/lists/oss-security/2012/03/21/2"
            },
            {
                "name": "MDVSA-2012:034",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:034"
            },
            {
                "name": "http://www.nih.at/libzip/NEWS.html",
                "refsource": "CONFIRM",
                "url": "http://www.nih.at/libzip/NEWS.html"
            },
            {
                "name": "[oss-security] 20120329 Re: CVE-2012-1162 / -1163: Incorrect loop construct and numeric  overflow in libzip",
                "refsource": "MLIST",
                "url": "http://www.openwall.com/lists/oss-security/2012/03/29/11"
            },
            {
                "name": "GLSA-201203-23",
                "refsource": "GENTOO",
                "url": "http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml"
            }
        ]
    }
}