CVE-2007-5162

N/A
Published: October 1, 2007 at 12:00 AM UTC
Updated: June 16, 2026 at 10:45 PM UTC
1 product affected across 1 vendorRuby

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (35)

Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/26985
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27044
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27432
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27576
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27673
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27756
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27764
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/27769

CVSS

Confidentiality
NONE
Integrity
PARTIAL
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-287

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card