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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2007
- CVE-2007-5156Incomplete blacklist vulnerability in editor/filemanager/upl…
- CVE-2007-5157PHP remote file inclusion vulnerability in phfito-post.php i…
- CVE-2007-5158The focus handling for the onkeydown event in Microsoft Inte…
- CVE-2007-5159The ntfs-3g package before 1.913-2.fc7 in Fedora 7, and an n…
- CVE-2007-5160Multiple PHP remote file inclusion vulnerabilities in Thierr…
- CVE-2007-5161Cross-zone scripting vulnerability in the internal browser i…
- CVE-2007-5163PHP remote file inclusion vulnerability in includes/function…
- CVE-2007-5164PHP remote file inclusion vulnerability in htmls/forum/inclu…
- CVE-2007-5165PHP remote file inclusion vulnerability in init.php in Jens …
- CVE-2007-5166Multiple PHP remote file inclusion vulnerabilities in SiteSy…
- CVE-2007-5167PHP remote file inclusion vulnerability in .systeme/fonction…
- CVE-2007-5168Multiple PHP remote file inclusion vulnerabilities in ClanLi…
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
