{"id":"CVE-2007-5162","aliases":["DSA-1410-1","DSA-1411-1","DSA-1412-1","EUVD-2007-5143","GHSA-26pc-wx8w-v5vj","RHSA-2007:0961","RHSA-2007:0965"],"status":"published","title":"The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1...","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01681,"percentile":0.77109,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-287"],"published":"2007-10-01T00:00:00Z","modified":"2026-06-26T12:17:44Z","affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"ruby1.8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5-4etch1"}]}],"versions":["1.8.5-4"],"bundled":2},{"source":"osv","ecosystem":"Debian:3.1","package":"ruby1.8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2-7sarge6"}]}],"versions":["1.8.2-7","1.8.2-7sarge1","1.8.2-7sarge2","1.8.2-7sarge4","1.8.2-7sarge5"],"bundled":2},{"source":"osv","ecosystem":"Debian:3.1","package":"libopenssl-ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.4a-1sarge1"}]}],"versions":["0.1.4a-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:4.0","package":"ruby1.9","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0+20060609-1etch1"}]}],"versions":["1.9.0+20060609-1"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.1-7.EL4.8.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-rdoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-ri","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-irb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-mode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-rdoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-ri","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"ruby-tcltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.8.5-5.el5_1.1"}]}],"bundled":2}],"products":[{"vendor":"ruby-lang","product":"ruby"}],"references":[{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13499","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/bid/25847","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"http://www.securityfocus.com/archive/1/483577/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/27576","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/26985","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/3340","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-596-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36861","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=313791","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13500","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/27044","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0961.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0965.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/27756","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1412","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.isecpartners.com/advisories/2007-006-rubyssl.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13502","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/27673","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1410","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/27769","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2007_24_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:029","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/29556","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/27818","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/27432","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/480987/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://securityreason.com/securityalert/3180","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/28645","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev\u0026revision=13504","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://www.debian.org/security/2007/dsa-1411","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/27764","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5162","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-26pc-wx8w-v5vj"},{"url":"https://access.redhat.com/errata/RHSA-2007:0961","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=218287","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=313691","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=362081","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0961.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-6303","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-6303","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-6303","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-5162","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5162","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-5770","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5770","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5770","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0965","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0965.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-5162","description":"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.","status":"published","published":"2007-10-01T00:00:00Z","modified":"2024-08-07T15:24:41.704Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5143","description":"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.","status":"published","published":"2007-10-01T00:00:00Z","modified":"2024-08-07T15:24:41Z","updated_at":"2026-11-03T01:16:18.681639Z"}],"ghsa":[{"id":"GHSA-26pc-wx8w-v5vj","title":"The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1...","description":"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.","status":"published","published":"2022-05-01T18:30:39Z","modified":"2023-01-31T05:04:39Z","cwes":["CWE-287"],"updated_at":"2026-11-02T14:48:42.511023Z"}],"nvd":[{"id":"CVE-2007-5162","description":"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.","status":"published","published":"2007-10-01T05:17:00Z","modified":"2026-06-16T22:45:34.1Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:01:21.141213Z"}],"osv":[{"id":"DSA-1410-1","title":"ruby1.8 - possible man-in-the-middle attacks","status":"published","published":"2007-11-24T00:00:00Z","modified":"2026-03-09T01:01:18.885145Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1411-1","title":"libopenssl-ruby - possible man-in-the-middle attacks","status":"published","published":"2007-11-24T00:00:00Z","modified":"2026-03-09T01:01:24.341098Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1412-1","title":"ruby1.9 - possible man-in-the-middle attacks","status":"published","published":"2007-11-24T00:00:00Z","modified":"2026-03-09T01:02:03.683211Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0961","title":"Red Hat Security Advisory: ruby security update","status":"published","published":"2024-09-15T16:58:11Z","modified":"2026-06-26T10:07:30Z","updated_at":"2026-11-02T15:52:59.70892Z"},{"id":"RHSA-2007:0965","title":"Red Hat Security Advisory: ruby security update","status":"published","published":"2024-09-15T16:58:16Z","modified":"2026-06-26T12:17:44.658013927Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
