{
    "CVE_data_meta": {
        "ASSIGNER": "product-security@apple.com",
        "ID": "CVE-2011-0188",
        "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": "The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large BigDecimal value within a 64-bit process, related to an \"integer truncation issue.\""
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2011:0910",
                "refsource": "REDHAT",
                "url": "http://www.redhat.com/support/errata/RHSA-2011-0910.html"
            },
            {
                "name": "1025236",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id?1025236"
            },
            {
                "name": "MDVSA-2011:098",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:098"
            },
            {
                "name": "RHSA-2011:0909",
                "refsource": "REDHAT",
                "url": "http://www.redhat.com/support/errata/RHSA-2011-0909.html"
            },
            {
                "name": "APPLE-SA-2011-03-21-1",
                "refsource": "APPLE",
                "url": "http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html"
            },
            {
                "name": "RHSA-2011:0908",
                "refsource": "REDHAT",
                "url": "http://www.redhat.com/support/errata/RHSA-2011-0908.html"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=682332",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=682332"
            },
            {
                "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993",
                "refsource": "CONFIRM",
                "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993"
            },
            {
                "name": "MDVSA-2011:097",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:097"
            },
            {
                "name": "http://support.apple.com/kb/HT4581",
                "refsource": "CONFIRM",
                "url": "http://support.apple.com/kb/HT4581"
            }
        ]
    }
}