CVE-2007-5162: ruby-lang ruby Improper Authentication
Vulnerability summary
CVE-2007-5162 is a medium (CVSS 4.3) Improper Authentication vulnerability in ruby-lang ruby. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.9% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5Timeline
- 01-10-2007PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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 metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.68%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.68% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Ruby-lang1 product
- ruby1.8.5 | 1.8.6
1 vendor · 1 product
References
35 links- bugzilla.redhat.com/show_bug.cgi?id=313791X Refsource MISC
Show all 35 references
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.htmlVendor AdvisoryX Refsource FEDORA
- www.isecpartners.com/advisories/2007-006-rubyssl.txtX Refsource MISC
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738VDB EntrySignatureX Refsource OVAL
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.htmlVendor AdvisoryX Refsource FEDORA
- www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.htmlVendor AdvisoryX Refsource FEDORA