Unrated severityNVD Advisory· Published Oct 1, 2007· Updated Apr 23, 2026
CVE-2007-5162
CVE-2007-5162
Description
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.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
35- svn.ruby-lang.org/cgi-bin/viewvc.cginvdPatch
- svn.ruby-lang.org/cgi-bin/viewvc.cginvdPatch
- svn.ruby-lang.org/cgi-bin/viewvc.cginvdPatch
- svn.ruby-lang.org/cgi-bin/viewvc.cginvdPatch
- www.securityfocus.com/bid/25847nvdPatch
- secunia.com/advisories/26985nvd
- secunia.com/advisories/27044nvd
- secunia.com/advisories/27432nvd
- secunia.com/advisories/27576nvd
- secunia.com/advisories/27673nvd
- secunia.com/advisories/27756nvd
- secunia.com/advisories/27764nvd
- secunia.com/advisories/27769nvd
- secunia.com/advisories/27818nvd
- secunia.com/advisories/28645nvd
- secunia.com/advisories/29556nvd
- securityreason.com/securityalert/3180nvd
- www.debian.org/security/2007/dsa-1410nvd
- www.debian.org/security/2007/dsa-1411nvd
- www.debian.org/security/2007/dsa-1412nvd
- www.isecpartners.com/advisories/2007-006-rubyssl.txtnvd
- www.mandriva.com/security/advisoriesnvd
- www.novell.com/linux/security/advisories/2007_24_sr.htmlnvd
- www.redhat.com/support/errata/RHSA-2007-0961.htmlnvd
- www.redhat.com/support/errata/RHSA-2007-0965.htmlnvd
- www.securityfocus.com/archive/1/480987/100/0/threadednvd
- www.securityfocus.com/archive/1/483577/100/0/threadednvd
- www.ubuntu.com/usn/usn-596-1nvd
- www.vupen.com/english/advisories/2007/3340nvd
- bugzilla.redhat.com/show_bug.cginvd
- exchange.xforce.ibmcloud.com/vulnerabilities/36861nvd
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738nvd
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.htmlnvd
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.htmlnvd
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.htmlnvd
News mentions
0No linked articles in our index yet.