Live threats

All CVEs / Ruby-lang

CVE-2007-5770Ruby-lang Ruby

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Nov 14, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N

What happens

The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5) Net::smtp libraries in Ruby 1.8.5 and 1.8.6 do not verify that the commonName (CN) field in a server certificate matches the domain name in a request sent over SSL, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site, different components than CVE-2007-5162.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.5
ruby-langruby1.8.6

Official sources

References

Links published by the sources. Open them with care.