Ruby の Fiddle::Function.new の "初期化" 関数におけるヒープオーバーフローの脆弱性
タイトル Ruby の Fiddle::Function.new の "初期化" 関数におけるヒープオーバーフローの脆弱性
概要

Ruby の Fiddle::Function.new の "初期化" 関数には、ヒープオーバーフローの脆弱性が存在します。

想定される影響 args 配列の要素として渡される特別に構築されたオブジェクトを介して、ヒープオーバーフローを引き起こす可能性があります。
対策

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

公表日 2016年6月14日0:00
登録日 2017年1月23日12:07
最終更新日 2017年1月23日12:07
CVSS3.0 : 緊急
スコア 9.8
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
スコア 7.5
ベクター AV:N/AC:L/Au:N/C:P/I:P/A:P
影響を受けるシステム
Ruby-lang.org
Ruby 2.2.2
Ruby 2.3.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
0 [2017年01月23日]
  掲載
2018年2月17日10:37

NVD脆弱性情報
CVE-2016-2339
概要

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.

公表日 2017年1月7日6:59
登録日 2021年1月26日14:08
最終更新日 2024年11月21日11:48
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧