{"cve":"CVE-2007-5162","nvd":{"published":"2007-10-01T05:17:00.000","modified":"2026-06-16T22:45:34.100","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-287"],"references":["http://secunia.com/advisories/26985","http://secunia.com/advisories/27044","http://secunia.com/advisories/27432","http://secunia.com/advisories/27576","http://secunia.com/advisories/27673"],"products":["ruby-lang:ruby"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-5162","score":0.01681,"percentile":0.76961,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}