製品・ソフトウェアに関する情報
Ruby におけるサービス運用妨害 (CPU 資源の消費) の脆弱性
Title Ruby におけるサービス運用妨害 (CPU 資源の消費) の脆弱性
Summary

Ruby は、ハッシュ衝突を想定した制限を適切に行わずにハッシュ値を算出するため、サービス運用妨害 (CPU 資源の消費) 状態となる脆弱性が存在します。 本脆弱性は、CVE-2011-4815 とは異なる脆弱性です。

Possible impacts 攻撃者により、ハッシュテーブルを保持するアプリケーションに対する巧妙に細工された入力を介して、サービス運用妨害 (CPU 資源の消費) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 9, 2011, midnight
Registration Date Nov. 29, 2012, 4:08 p.m.
Last Update Nov. 29, 2012, 4:08 p.m.
CVSS2.0 : 警告
Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Affected System
Ruby-lang.org
Ruby 1.9.3 patchlevel 327 より前の全ての ruby 1.9 系列
Ruby 2.0 revision 37575 より前の全ての ruby 2.0 系列 (2.0.0 preview1 を含む)
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2012年11月29日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2012-5371
Summary

Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision attack against a variant of the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4815.

Publication Date Nov. 28, 2012, 10:03 p.m.
Registration Date Jan. 28, 2021, 3:05 p.m.
Last Update Nov. 21, 2024, 10:44 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:p286:*:*:*:*:*:* 1.9.3
cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List