製品・ソフトウェアに関する情報
Ruby の openssl 拡張機能における Ruby スクリプトのコンテキスト中の署名を偽装される脆弱性
Title Ruby の openssl 拡張機能における Ruby スクリプトのコンテキスト中の署名を偽装される脆弱性
Summary

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

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

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

Publication Date April 16, 2014, midnight
Registration Date April 28, 2014, 4:36 p.m.
Last Update May 26, 2014, 6:09 p.m.
CVSS2.0 : 警告
Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:N
Affected System
Ruby-lang.org
Ruby 2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2014年04月28日]
  掲載
[2014年05月26日]
  概要:内容を更新
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2014-2734
Summary

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

Publication Date April 25, 2014, 8:55 a.m.
Registration Date Jan. 26, 2021, 3:09 p.m.
Last Update Nov. 21, 2024, 11:06 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
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:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List