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; LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1410-1, DSA-1411-1, DSA-1412-1
NVD severitymedium (attack range: remote)
Debian Bugs444929

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby1.8 (PTS)wheezy (security), wheezy1.8.7.358-7.1+deb7u3fixed

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

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

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