製品・ソフトウェアに関する情報
Ruby における乱数の値を推測される脆弱性
Title Ruby における乱数の値を推測される脆弱性
Summary

Ruby は、fork 中の random seed をリセットしないため、乱数の値を推測される脆弱性が存在します。 本問題は、CVE-2003-0900 と関連する可能性があります。

Possible impacts 攻撃者により、異なる子プロセス内で取得した数値の順序の知識を介して、乱数の値を推測される可能性があります。
Solution

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

Publication Date Aug. 5, 2011, midnight
Registration Date March 27, 2012, 6:43 p.m.
Last Update March 27, 2012, 6:43 p.m.
CVSS2.0 : 警告
Score 5
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
Affected System
Ruby-lang.org
Ruby 1.8.6-p114 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年03月27日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2011-3009
Summary

Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900.

Publication Date Aug. 6, 2011, 7:55 a.m.
Registration Date Jan. 28, 2021, 4:39 p.m.
Last Update Nov. 21, 2024, 10:29 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:ruby-lang:ruby:*:p111:*:*:*:*:*:* 1.8.6
cpe:2.3:a:ruby-lang:ruby:1.8.6:p110:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.6:p36:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List