Ruby における乱数の値を推測される脆弱性
タイトル Ruby における乱数の値を推測される脆弱性
概要

Rubyは、fork 中に random seed をリセットしないため、乱数の値を推測される脆弱性が存在します。 本問題は、CVE- 2003-0900 と関連する可能性があります。 補足: 本問題は Ruby 1.8.6 開発中のリグレッションに起因した問題です。

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

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

公表日 2011年8月5日0:00
登録日 2012年3月27日18:43
最終更新日 2012年3月27日18:43
CVSS2.0 : 警告
スコア 5
ベクター AV:N/AC:L/Au:N/C:P/I:N/A:N
影響を受けるシステム
Ruby-lang.org
Ruby 1.8.7-p352 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
0 [2012年03月27日]
  掲載
2018年2月17日10:37

NVD脆弱性情報
CVE-2011-2686
概要

Ruby before 1.8.7-p352 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. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.

公表日 2011年8月6日6:55
登録日 2021年1月28日16:39
最終更新日 2024年11月21日10:28
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1.8.7-334
cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧