Auth bypass in Ruby-Lang Ruby
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.017 (76.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Ruby-Lang Ruby — versions 1.8.5, 1.8.6
Weakness classification (CWE)
References
- svn.ruby-lang.org/cgi-bin/viewvc.cgi (Patch)
- www.securityfocus.com/bid/25847 (Patch, vdb-entry)
- www.securityfocus.com/archive/1/483577/100/0/threaded (mailing-list)
- secunia.com/advisories/27576 (third-party-advisory)
- secunia.com/advisories/26985 (third-party-advisory)
- www.vupen.com/english/advisories/2007/3340 (vdb-entry)
- www.ubuntu.com/usn/usn-596-1 (vendor-advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/36861 (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi
- svn.ruby-lang.org/cgi-bin/viewvc.cgi (Patch)