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.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11025
https://bugzilla.redhat.com/show_bug.cgi?id=362081
http://www.vupen.com/english/advisories/2007/4238
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
http://www.ubuntu.com/usn/usn-596-1
http://www.securitytracker.com/id?1018938
http://www.securityfocus.com/bid/26421
http://www.redhat.com/support/errata/RHSA-2007-0965.html
http://www.redhat.com/support/errata/RHSA-2007-0961.html
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.mandriva.com/security/advisories?name=MDVSA-2008:029
http://www.debian.org/security/2007/dsa-1412
http://www.debian.org/security/2007/dsa-1411
http://www.debian.org/security/2007/dsa-1410
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13656
http://secunia.com/advisories/29556
http://secunia.com/advisories/28645
http://secunia.com/advisories/28136
http://secunia.com/advisories/27818
http://secunia.com/advisories/27769
http://secunia.com/advisories/27764
http://secunia.com/advisories/27756
http://secunia.com/advisories/27673
http://secunia.com/advisories/27576
http://secunia.com/advisories/26985
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html