PT-2007-6255 · Ruby+1 · Ruby+1

Tomas Hoger

·

Published

2007-10-01

·

Updated

2018-10-15

·

CVE-2007-5162

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions Ruby versions 1.8.5 through 1.8.6
Description The issue concerns the connect method in the Net::HTTP and Net::HTTPS libraries, which fails to verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request. This oversight makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.
Recommendations For Ruby versions 1.8.5 through 1.8.6, consider updating to a version that includes a fix for this issue, as the current versions do not properly verify server certificates. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2007-5162
DSA-1410-1
DSA-1411-1
DSA-1412-1
RHSA-2007:0961
RHSA-2007:0965
RHSA-2007_0961
RHSA-2007_0965

Affected Products

Red Hat
Ruby