<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>199191</bug_id>
          <alias>CVE-2007-5770</alias>
          <creation_ts>2007-11-14 23:17 0000</creation_ts>
          <short_desc>dev-lang/ruby &lt; 1.8.6_p111 SSL commonName (CN) verficiation in Net::ftptls, telnets, imap, pop, smtp (CVE-2007-5770)</short_desc>
          <delta_ts>2008-01-10 09:09:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&amp;revision=13656</bug_file_loc>
          <status_whiteboard>B4 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rbu@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>mips@gentoo.org</cc>
    
    <cc>ruby@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-11-14 23:17:06 0000</bug_when>
            <thetext>CVE-2007-5770 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-5770):
  The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5)
  Net::smtp libraries in Ruby 1.8.5 and 1.8.6 do not verify that the commonName
  (CN) field in a server certificate matches the domain name in a request sent
  over SSL, which makes it easier for remote attackers to intercept SSL
  transmissions via a man-in-the-middle attack or spoofed web site, different
  components than CVE-2007-5162.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-11-14 23:19:18 0000</bug_when>
            <thetext>Ruby, can you confirm that these modules were fixed in the update in bug 194236 or do they need additional patching?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-11-20 00:48:45 0000</bug_when>
            <thetext>ruby, please advise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-12-08 23:54:07 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; ruby, please advise.
&gt; 

*ping*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-12-09 09:59:36 0000</bug_when>
            <thetext>Sorry for the delay. Richard has been working on this but he has not been online for several weeks now, and I don&apos;t know much about this.

Judging from the redhat report this issue is similar to bug 194236 but for the other services using SSL. So: more patching is needed. Redhat bug https://bugzilla.redhat.com/show_bug.cgi?id=362081 seems to be the patch required. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbrown@gentoo.org</who>
            <bug_when>2007-12-09 17:43:19 0000</bug_when>
            <thetext>The patch linked is against ruby trunk, not the 1.8 branch, I&apos;ve sent an email to ruby-core to see what they say. Sorry for the delay.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbrown@gentoo.org</who>
            <bug_when>2007-12-23 10:45:03 0000</bug_when>
            <thetext>I&apos;ve added =dev-lang/ruby-1.8.6_p111. Arches please stabilise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2007-12-23 13:46:27 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ranger@gentoo.org</who>
            <bug_when>2007-12-23 17:16:11 0000</bug_when>
            <thetext>ppc and ppc64 done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-12-24 02:39:00 0000</bug_when>
            <thetext>dev-lang/ruby-1.8.6_p111-r1 marked stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbrown@gentoo.org</who>
            <bug_when>2007-12-24 08:36:11 0000</bug_when>
            <thetext>Just to be clear I was asking for 1.8.6_p111 to be stabled, not 1.8.6_p111-r1. Jer, I&apos;ve added hppa back so you see this, but I don&apos;t think the world is going to end, -r1 has some more bugfixes from upstream and the ebuild has been reworked a little, but should still be basically fine. -r0 specifically only has the security changes in it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-12-24 14:55:22 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Just to be clear I was asking for 1.8.6_p111 to be stabled

So I told exactly which version I stabled. :)
I can mark -r0 for you as well if you like...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-12-24 15:31:11 0000</bug_when>
            <thetext>alpha/ia64/sparc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>welp@gentoo.org</who>
            <bug_when>2007-12-26 09:05:09 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2007-12-26 11:41:09 0000</bug_when>
            <thetext>All supported arches done, vote now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-12-26 12:05:16 0000</bug_when>
            <thetext>Similar to the issue in bug 194236, voting NO.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dercorny@gentoo.org</who>
            <bug_when>2007-12-26 21:57:18 0000</bug_when>
            <thetext>tend to say no</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-12-28 23:37:52 0000</bug_when>
            <thetext>no too, closing.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>