Patchwire CVEs, their patch status, and feeds to follow them

CVE-2007-5162

Fixed in a distro release EPSS 2%

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.

Published 2007-10-01 · CVE record · OSV

Products: ruby-lang ruby

Distro releases

ReleasePackageFixed in
Debian 3.1libopenssl-ruby0.1.4a-1sarge1
Debian 3.1ruby1.81.8.2-7sarge6
Debian 4.0ruby1.81.8.5-4etch1
Debian 4.0ruby1.91.9.0+20060609-1etch1
Red Hat Enterprise Linux 4irb0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-debuginfo0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-devel0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-docs0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-libs0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-mode0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 4ruby-tcltk0:1.8.1-7.EL4.8.1
Red Hat Enterprise Linux 5ruby0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-debuginfo0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-devel0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-docs0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-irb0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-libs0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-mode0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-rdoc0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-ri0:1.8.5-5.el5_1.1
Red Hat Enterprise Linux 5ruby-tcltk0:1.8.5-5.el5_1.1