Ruby の openssl 拡張機能における Ruby スクリプトのコンテキスト中の署名を偽装される脆弱性
タイトル Ruby の openssl 拡張機能における Ruby スクリプトのコンテキスト中の署名を偽装される脆弱性
概要

** 未確定 ** 本件は、脆弱性として確定していません。 Ruby の openssl 拡張機能は、ファイルが再オープンされた後、プロセスメモリの状態を適切に維持しないため、ファイルシステム操作の特定のシーケンスを実行した後、署名の検証を行う Ruby スクリプトのコンテキスト中の署名を偽装される脆弱性が存在します。 なお、この問題は、Ruby OpenSSL チームおよび第三者から、脆弱性であることに異議を申し立てられています。Ruby OpenSSL チームおよび第三者は、オリジナルのデモ PoC (Proof-of-concept) がエラー、および問題の実証に関連しているとは見えない冗長または不必要に複雑なコードを含んでいると主張しています。 2014 年 5 月 2 日時点において、CVE 管理元では、PoC を公開した研究者による本件へのコメント等は確認できていません。

想定される影響 第三者により、ファイルシステム操作の特定のシーケンスを実行した後、署名の検証を行う Ruby スクリプトのコンテキスト中の署名を偽装される可能性があります。
対策

ベンダ情報および参考情報を参照して適切な対策を実施してください。

公表日 2014年4月16日0:00
登録日 2014年4月28日16:36
最終更新日 2014年5月26日18:09
CVSS2.0 : 警告
スコア 5.8
ベクター AV:N/AC:M/Au:N/C:P/I:P/A:N
影響を受けるシステム
Ruby-lang.org
Ruby 2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
0 [2014年04月28日]
  掲載
[2014年05月26日]
  概要:内容を更新
2018年2月17日10:37

NVD脆弱性情報
CVE-2014-2734
概要

The openssl extension in Ruby 2.x does not properly maintain the state of process memory after a file is reopened, which allows remote attackers to spoof signatures within the context of a Ruby script that attempts signature verification after performing a certain sequence of filesystem operations. NOTE: this issue has been disputed by the Ruby OpenSSL team and third parties, who state that the original demonstration PoC contains errors and redundant or unnecessarily-complex code that does not appear to be related to a demonstration of the issue. As of 20140502, CVE is not aware of any public comment by the original researcher

公表日 2014年4月25日8:55
登録日 2021年1月26日15:09
最終更新日 2024年11月21日11:06
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧