Auth bypass in Ruby-Lang Ruby
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.026, 85.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 1.8, 1.9
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, chnzzh/OpenSSL-CVE-lib). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- secunia.com/advisories/35937 (third-party-advisory)
- redmine.ruby-lang.org/issues/show/1091 (Exploit)
- ruby-ocspbasicverify-spoofing(48761) (vdb-entry)
- RHSA-2009:1140 (vendor-advisory)
- USN-805-1 (vendor-advisory)
- www.securityfocus.com/bid/33769 (vdb-entry)
- www.securitytracker.com/id (vdb-entry)
- oval:org.mitre.oval:def:11450 (signature, vdb-entry)
- secunia.com/advisories/35699 (third-party-advisory)
- MDVSA-2009:193 (vendor-advisory)