Bug 313691 (CVE-2007-5162) - CVE-2007-5162 ruby Net:HTTP insufficient verification of SSL certificate
Summary: CVE-2007-5162 ruby Net:HTTP insufficient verification of SSL certificate
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2007-5162
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://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On: 313791 313801 320331 320341 320371 320381
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-01 11:40 UTC by Tomas Hoger
Modified: 2019-09-29 12:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-16 16:51:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0961 0 normal SHIPPED_LIVE Moderate: ruby security update 2007-11-13 09:58:07 UTC
Red Hat Product Errata RHSA-2007:0965 0 normal SHIPPED_LIVE Moderate: ruby security update 2007-11-13 09:39:26 UTC

Description Tomas Hoger 2007-10-01 11:40:35 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-5162 to the following vulnerability:

The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS
libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN)
field in a server certificate matches the domain name in an HTTPS request,
which makes it easier for remote attackers to intercept SSL transmissions via a
man-in-the-middle attack or spoofed web site.

References:

http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
http://www.securityfocus.com/bid/25847
http://www.securityfocus.com/archive/1/480987

Patch applied to trunk:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499
(original advisory links to other commits in other svn branches)

Comment 2 Tomas Hoger 2007-10-01 13:24:36 UTC
This issue does not affect ruby packages as shipped in Red Hat Enterprise Linux
2.1 and 3, as they do not provide SSL support for Net::HTTP class.

Comment 24 Red Hat Product Security 2008-01-16 16:51:12 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2007-0965.html
  http://rhn.redhat.com/errata/RHSA-2007-0961.html

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2007-2406




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