CVE-2007-5162
Ruby - Authentication Bypass
Title source: ruleDescription
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.
References (35)
[Vendor Advisory] https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html
[Vendor Advisory] https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html
[Vendor Advisory] https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html
... and 15 more
Scores
EPSS
0.0066
EPSS Percentile
70.8%
Classification
CWE
CWE-287
Status
draft
Affected Products (2)
ruby-lang/ruby
ruby-lang/ruby
Timeline
Published
Oct 01, 2007
Tracked Since
Feb 18, 2026