CVE catalog

CVE-2007-5162

ruby1.8 - possible man-in-the-middle attacks

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
1.68% · Oct 25, 2026

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. Net: HTTP insufficient verification of SSL certificate

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby1.94.01.9.0+20060609-1vulnerable
Debianruby1.94.01.9.0+20060609-1etch1fixed
Debianlibopenssl-ruby3.10.1.4a-1vulnerable
Debianlibopenssl-ruby3.10.1.4a-1sarge1fixed
Debianruby1.84.01.8.5-4vulnerable
Debianruby1.84.01.8.5-4etch1fixed
Debianruby1.83.11.8.2-7vulnerable
Debianruby1.83.11.8.2-7sarge1vulnerable
Debianruby1.83.11.8.2-7sarge2vulnerable
Debianruby1.83.11.8.2-7sarge4vulnerable
Debianruby1.83.11.8.2-7sarge5vulnerable
Debianruby1.83.11.8.2-7sarge6fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby1.9deb4.01.9.0+20060609-1etch1Not reportedDSA-1412-1Not reported
Debianlibopenssl-rubydeb3.10.1.4a-1sarge1Not reportedDSA-1411-1Not reported
Debianruby1.8deb4.01.8.5-4etch1Not reportedDSA-1410-1Not reported
Debianruby1.8deb3.11.8.2-7sarge6Not reportedDSA-1410-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References