CVE-2007-5162

NameCVE-2007-5162
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1410-1, DSA-1411-1, DSA-1412-1
Debian Bugs444929

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libopenssl-rubysourcesarge0.1.4a-1sarge1DSA-1411-1
ruby1.8sourcesarge1.8.2-7sarge6DSA-1410-1
ruby1.8sourceetch1.8.5-4etch1DSA-1410-1
ruby1.8source(unstable)1.8.6.111-1low444929
ruby1.9sourceetch1.9.0+20060609-1etch1DSA-1412-1
ruby1.9source(unstable)1.9.0+20071016-1low

Notes

fix for 1.8 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504

Search for package or bug name: Reporting problems