CVE-2007-5162
Last modified
CVE-2007-5162 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.68% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Ruby | 1.8.5 |
| Ruby-Lang | Ruby | 1.8.6 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-5162?
How severe is CVE-2007-5162?
How do I fix CVE-2007-5162?
Are you affected by CVE-2007-5162?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
