CVE-2007-5162

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.

公開: 2007-10-01 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2007-5162 は中リスク(41.8/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 1.70%、74 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2007-5162 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 2.98% 1.70% -1.29%
2 2026-06-06 2.22% 2.98% +0.76%
3 2026-06-03 2.22%

EPSS の全履歴 (全 26 件)

CVE-2007-5162 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
8.6 2.9 [email protected]

CVE-2007-5162 の弱点分類(列挙)

CVE-2007-5162 の OS トラッカー

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2007-5162
ubuntu low CVE-2007-5162 low priority: Ubuntu including 2 source packages (libopenssl-ruby, ruby1.8), 11 status rows across 6 suites (dapper, edgy, feisty, gutsy, hardy, upstream): released 6, not-affected 5. https://ubuntu.com/security/CVE-2007-5162

CVE-2007-5162 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
ruby-lang ruby 1.8.5 cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*
ruby-lang ruby 1.8.6 cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*

CVE-2007-5162 の参考情報

URL タグ
http://secunia.com/advisories/26985
http://secunia.com/advisories/27044
http://secunia.com/advisories/27432
http://secunia.com/advisories/27576
http://secunia.com/advisories/27673
http://secunia.com/advisories/27756
http://secunia.com/advisories/27764
http://secunia.com/advisories/27769
http://secunia.com/advisories/27818
http://secunia.com/advisories/28645
http://secunia.com/advisories/29556
http://securityreason.com/securityalert/3180
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504 Patch
http://www.debian.org/security/2007/dsa-1410
http://www.debian.org/security/2007/dsa-1411
http://www.debian.org/security/2007/dsa-1412
http://www.isecpartners.com/advisories/2007-006-rubyssl.txt
http://www.mandriva.com/security/advisories?name=MDVSA-2008:029
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.redhat.com/support/errata/RHSA-2007-0961.html
http://www.redhat.com/support/errata/RHSA-2007-0965.html
http://www.securityfocus.com/archive/1/480987/100/0/threaded
http://www.securityfocus.com/archive/1/483577/100/0/threaded
http://www.securityfocus.com/bid/25847 Patch
http://www.ubuntu.com/usn/usn-596-1
http://www.vupen.com/english/advisories/2007/3340
https://bugzilla.redhat.com/show_bug.cgi?id=313791
https://exchange.xforce.ibmcloud.com/vulnerabilities/36861
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html
cvelogic Threat Intelligence