NVD Vulnerability Detail
Search Exploit, PoC
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.
CVSS3.0 : CRITICAL
スコア 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
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

JVN Vulnerability Information
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.
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.