CVE-2007-5162

N/A Unknown
Published: October 01, 2007 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/25847
Source: cve@mitre.org
Patch
http://secunia.com/advisories/26985
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27044
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27432
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27576
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27673
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27756
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27764
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27769
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/27818
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/28645
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/29556
Source: af854a3a-2127-422b-91ae-364da2661108
http://securityreason.com/securityalert/3180
Source: af854a3a-2127-422b-91ae-364da2661108
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://www.debian.org/security/2007/dsa-1410
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2007/dsa-1411
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2007/dsa-1412
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.mandriva.com/security/advisories?name=MDVSA-2008:029
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.novell.com/linux/security/advisories/2007_24_sr.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.redhat.com/support/errata/RHSA-2007-0961.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.redhat.com/support/errata/RHSA-2007-0965.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/480987/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/483577/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/25847
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
http://www.ubuntu.com/usn/usn-596-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.vupen.com/english/advisories/2007/3340
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugzilla.redhat.com/show_bug.cgi?id=313791
Source: af854a3a-2127-422b-91ae-364da2661108
https://exchange.xforce.ibmcloud.com/vulnerabilities/36861
Source: af854a3a-2127-422b-91ae-364da2661108

70 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
1.7%
74th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ruby-lang