CVE-2007-5162 - CVE House
Back to Database
Status published Medium CVE-2007-5162

The connect method in lib/net/http.rb in the (1) Net::HTTP and...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2007-5162

Credits & Attribution

No credits recorded in the NVD database.

References

Affected Vendor

Affected Software

ruby
Vulnerable Versions:
1.8.5, 1.8.6

Timeline

Official Publish: October 1st, 2007
Last Modified: August 7th, 2024
Added to House: July 18th, 2026

CVSS Vectors

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.