Skip to content
CVE Tracker
Back

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…

Medium4.3EPSS 1.7%
Published
Updated
Reserved
Assigned by
mitre

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.

Scores

CVSS scores of CVE-2007-5162, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS (exploitation in 30 days)
1.7% · top 23% of all CVEs (3 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.

Weakness

Affected products

  • n/a

    • affected n/a

References (35)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2007-5162 badge
[![CVE-2007-5162](https://trackcve.app/badge/CVE-2007-5162.svg)](https://trackcve.app/cve/CVE-2007-5162)

Record last updated .