CVE Feed

    Dashboard / CVE / CVE-2007-5162

    CVE-2007-5162

    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.

    Published:Sep 27, 2007
    Last Modified:Apr 23, 2026
    EPS:Oct 1, 2007
    EPSS Score:0.00658
    CVSS Score:4.3

    Affected Products

    Vendor
    Redhat
    Product
    Enterprise Linux
    Vendor
    Ruby-lang
    Product
    Ruby

    Exploits

    No exploit reference

    Common Weakness Enumeration

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High