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
Link Providers
http://secunia.com/advisories/26985 cve-icon cve-icon
http://secunia.com/advisories/27044 cve-icon cve-icon
http://secunia.com/advisories/27432 cve-icon cve-icon
http://secunia.com/advisories/27576 cve-icon cve-icon
http://secunia.com/advisories/27673 cve-icon cve-icon
http://secunia.com/advisories/27756 cve-icon cve-icon
http://secunia.com/advisories/27764 cve-icon cve-icon
http://secunia.com/advisories/27769 cve-icon cve-icon
http://secunia.com/advisories/27818 cve-icon cve-icon
http://secunia.com/advisories/28645 cve-icon cve-icon
http://secunia.com/advisories/29556 cve-icon cve-icon
http://securityreason.com/securityalert/3180 cve-icon cve-icon
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499 cve-icon cve-icon
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500 cve-icon cve-icon
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502 cve-icon cve-icon
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504 cve-icon cve-icon
http://www.debian.org/security/2007/dsa-1410 cve-icon cve-icon
http://www.debian.org/security/2007/dsa-1411 cve-icon cve-icon
http://www.debian.org/security/2007/dsa-1412 cve-icon cve-icon
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:029 cve-icon cve-icon
http://www.novell.com/linux/security/advisories/2007_24_sr.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2007-0961.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2007-0965.html cve-icon cve-icon
http://www.securityfocus.com/archive/1/480987/100/0/threaded cve-icon cve-icon
http://www.securityfocus.com/archive/1/483577/100/0/threaded cve-icon cve-icon
http://www.securityfocus.com/bid/25847 cve-icon cve-icon
http://www.ubuntu.com/usn/usn-596-1 cve-icon cve-icon
http://www.vupen.com/english/advisories/2007/3340 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=313791 cve-icon cve-icon
https://exchange.xforce.ibmcloud.com/vulnerabilities/36861 cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2007-5162 cve-icon
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738 cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2007-5162 cve-icon
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html cve-icon cve-icon
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html cve-icon cve-icon
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html cve-icon cve-icon
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2007-10-01T00:00:00

Updated: 2024-08-07T15:24:41.704Z

Reserved: 2007-09-30T00:00:00

Link: CVE-2007-5162

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2007-10-01T05:17:00.000

Modified: 2024-11-21T00:37:16.883

Link: CVE-2007-5162

cve-icon Redhat

Severity : Moderate

Publid Date: 2007-09-27T00:00:00Z

Links: CVE-2007-5162 - Bugzilla