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; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)
ReferencesDSA-1410-1, DSA-1411-1, DSA-1412-1
NVD severitymedium (attack range: remote, user-initiated)
Debian Bugs444929
Debian/oldoldstablenot vulnerable.
Debian/oldstablenot vulnerable.
Debian/stablenot known to be vulnerable.
Debian/testingnot known to be vulnerable.
Debian/unstablenot known to be vulnerable.

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby1.8 (PTS)squeeze, squeeze (security)1.8.7.302-2squeeze2fixed
squeeze (lts)1.8.7.302-2squeeze5fixed
wheezy1.8.7.358-7.1+deb7u1fixed
wheezy (security)1.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