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.
Conclusion & alert: CVE-2007-5162 is rated Moderate Risk (41.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.70%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.98% | 1.70% | -1.29% |
| 2 | 2026-06-06 | 2.22% | 2.98% | +0.76% |
| 3 | 2026-06-03 | — | 2.22% | — |
Full EPSS history (26 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2007-5162 |
ubuntu
|
low | CVE-2007-5162 low priority: Ubuntu including 2 source packages (libopenssl-ruby, ruby1.8), 11 status rows across 6 suites (dapper, edgy, feisty, gutsy, hardy, upstream): released 6, not-affected 5. | https://ubuntu.com/security/CVE-2007-5162 |