{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2009-0642",
        "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": "ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "35937",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/35937"
            },
            {
                "name": "http://redmine.ruby-lang.org/issues/show/1091",
                "refsource": "CONFIRM",
                "url": "http://redmine.ruby-lang.org/issues/show/1091"
            },
            {
                "name": "ruby-ocspbasicverify-spoofing(48761)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/48761"
            },
            {
                "name": "RHSA-2009:1140",
                "refsource": "REDHAT",
                "url": "http://www.redhat.com/support/errata/RHSA-2009-1140.html"
            },
            {
                "name": "USN-805-1",
                "refsource": "UBUNTU",
                "url": "http://www.ubuntu.com/usn/USN-805-1"
            },
            {
                "name": "33769",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/33769"
            },
            {
                "name": "1022505",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id?1022505"
            },
            {
                "name": "oval:org.mitre.oval:def:11450",
                "refsource": "OVAL",
                "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450"
            },
            {
                "name": "35699",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/35699"
            },
            {
                "name": "MDVSA-2009:193",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:193"
            },
            {
                "name": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528",
                "refsource": "MISC",
                "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528"
            },
            {
                "name": "33750",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/33750"
            }
        ]
    }
}