the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2009-0642

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.
Publish Date : 2009-02-20 Last Update Date : 2017-09-28
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s)
CWE ID 287

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate
AV:N/AC:L/Au:N/C:N/I:P/A:N 2009-01-29 2009-01-29
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2009-0642 unix
DSA-1860 ruby1.8, ruby1.9 -- several vulnerabilities oval:org.mitre.oval:def:7853 unix
DSA-1860-1 ruby1.8, ruby1.9 -- several oval:org.mitre.oval:def:13540 unix
ELSA-2009:1140: ruby security update (Moderate) oval:org.mitre.oval:def:22900 unix
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... oval:org.mitre.oval:def:11450 unix
RHSA-2009:1140 -- ruby security update (Moderate) oval:org.mitre.oval:def:29258 unix
RHSA-2009:1140: ruby security update (Moderate) oval:com.redhat.rhsa:def:20091140 unix
USN-805-1 -- ruby1.8, ruby1.9 vulnerabilities oval:org.mitre.oval:def:13411 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2009-0642

# Product Type Vendor Product Version Update Edition Language
1 Application Ruby-lang Ruby 1.8 Version Details Vulnerabilities
2 Application Ruby-lang Ruby 1.9 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Ruby-lang Ruby 2

- References For CVE-2009-0642
XF ruby-ocspbasicverify-spoofing(48761) CONFIRM
REDHAT RHSA-2009:1140
BID 33769 Ruby 'OCSP_basic_verify()' X.509 Certificate Verification Vulnerability Release Date:2009-12-09
SECTRACK 1022505

- Metasploit Modules Related To CVE-2009-0642

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.