Bug 486183 (CVE-2009-0642)

Summary: CVE-2009-0642 ruby: Incorrect checks for validity of X.509 certificates
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kreilly, mjc, tagoh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-02 18:14:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 505085, 505086, 505087, 505088    
Bug Blocks:    

Description Jan Lieskovsky 2009-02-18 19:24:49 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2009-0642 to
the following vulnerability:

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.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0642
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
http://redmine.ruby-lang.org/issues/show/1091
http://www.securityfocus.com/bid/33769
http://xforce.iss.net/xforce/xfdb/48761

Patch:
http://redmine.ruby-lang.org/attachments/download/241

Comment 1 Jan Lieskovsky 2009-02-18 19:28:40 UTC
This issue does NOT affect the versions of the Ruby package, as shipped
with Red Hat Enteprise Linux 2.1 and 3.

This issue affects the versions of the Ruby package, as shipped
with Red Hat Enterprise Linux 4 and 5.

This issue affects the versions of the Ruby package, as shipped
with Fedora releases of 9, 10 and devel.

Comment 2 Akira TAGOH 2009-02-20 08:15:51 UTC
Can you file a bug for each releases? or we don't need it anymore?

Comment 3 Tomas Hoger 2009-06-09 07:43:53 UTC
Upstream SVN commit:
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22440

Comment 4 Jeroen van Meeuwen 2009-06-10 11:57:13 UTC
Fixed in 1.8.6-p368 in F-10, F-11 and devel.

Comment 6 errata-xmlrpc 2009-07-02 17:03:44 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2009:1140 https://rhn.redhat.com/errata/RHSA-2009-1140.html