Skip to content
OpenAdvisories
Unscored CVE-2007-5770 EUVD-2007-5740GHSA-mf83-c25g-48r6

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 …

Published Nov 14, 2007 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 ruby1.8 1.8.5-4etch1 DSA-1410-1
Debian 4.0 ruby1.9 1.9.0+20060609-1etch1 DSA-1412-1
Debian 3.1 libopenssl-ruby 0.1.4a-1sarge1 DSA-1411-1
Debian 3.1 ruby1.8 1.8.2-7sarge6 DSA-1410-1
ReleasePackageFixed inAdvisory
RHEL 5 ruby +8 1.8.5-5.el5_1.1 RHSA-2007:0965
RHEL 4 irb +6 1.8.1-7.EL4.8.1 RHSA-2007:0961

Advisories 5

References