Bug 486183 (CVE-2009-0642) - CVE-2009-0642 ruby: Incorrect checks for validity of X.509 certificates
Summary: CVE-2009-0642 ruby: Incorrect checks for validity of X.509 certificates
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-0642
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Depends On: 505085 505086 505087 505088
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-18 19:24 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-02 18:14:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1140 0 normal SHIPPED_LIVE Moderate: ruby security update 2009-07-02 17:02:26 UTC

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


Note You need to log in before you can comment on or make changes to this bug.