製品・ソフトウェアに関する情報
Ruby の Fiddle::Function.new の "初期化" 関数におけるヒープオーバーフローの脆弱性
Title Ruby の Fiddle::Function.new の "初期化" 関数におけるヒープオーバーフローの脆弱性
Summary

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

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

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

Publication Date June 14, 2016, midnight
Registration Date Jan. 23, 2017, 12:07 p.m.
Last Update Jan. 23, 2017, 12:07 p.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
Ruby-lang.org
Ruby 2.2.2
Ruby 2.3.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年01月23日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2016-2339
Summary

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.

Publication Date Jan. 7, 2017, 6:59 a.m.
Registration Date Jan. 26, 2021, 2:08 p.m.
Last Update Nov. 21, 2024, 11:48 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List