U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2007-5162 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-287 Improper Authentication cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-5162
NVD Published Date:
10/01/2007
NVD Last Modified:
04/08/2025
Source:
MITRE