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.
Remediation
References
Related Vulnerabilities
Perl Resource Management Errors Vulnerability (CVE-2013-1667)
WordPress Plugin Visitor Traffic Real Time Statistics Cross-Site Request Forgery (2.12)
ASP.NET MVC Improper Input Validation Vulnerability (CVE-2017-0256)
LimeSurvey Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2019-16177)