{"id":"CVE-2009-0642","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2009-02-18T17:00:00.000Z","updatedAt":"2024-08-07T04:40:05.106Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/35937","http://redmine.ruby-lang.org/issues/show/1091","https://exchange.xforce.ibmcloud.com/vulnerabilities/48761","http://www.redhat.com/support/errata/RHSA-2009-1140.html","http://www.ubuntu.com/usn/USN-805-1","http://www.securityfocus.com/bid/33769","http://www.securitytracker.com/id?1022505","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450","http://secunia.com/advisories/35699","http://www.mandriva.com/security/advisories?name=MDVSA-2009:193","http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528","http://secunia.com/advisories/33750"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:11.205Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/0xxx/CVE-2009-0642.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-0642","state":"PUBLISHED","datePublished":"2009-02-18T17:00:00.000Z","dateUpdated":"2024-08-07T04:40:05.106Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2009-02-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/35937","name":"35937","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://redmine.ruby-lang.org/issues/show/1091","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48761","name":"ruby-ocspbasicverify-spoofing(48761)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","name":"RHSA-2009:1140","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/USN-805-1","name":"USN-805-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/33769","name":"33769","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id?1022505","name":"1022505","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450","name":"oval:org.mitre.oval:def:11450","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/35699","name":"35699","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:193","name":"MDVSA-2009:193","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/33750","name":"33750","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2009-01-29T00:00:00.000Z","x_legacyV4Record":{"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"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/35937","name":"35937","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://redmine.ruby-lang.org/issues/show/1091","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48761","name":"ruby-ocspbasicverify-spoofing(48761)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","name":"RHSA-2009:1140","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-805-1","name":"USN-805-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/33769","name":"33769","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securitytracker.com/id?1022505","name":"1022505","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450","name":"oval:org.mitre.oval:def:11450","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/35699","name":"35699","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:193","name":"MDVSA-2009:193","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/33750","name":"33750","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T04:40:05.106Z"}}]}}}