CVE-2007-5162

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.

Score
CVSS 2.0 4.3 Medium
Status
Modified - cve@mitre.org
Published
2007-10-01
Last modified
2024-08-07
Weaknesses
CWE-287

Affected products

References