NVD Vulnerability Detail
Search Exploit, PoC
CVE-2011-0188
Summary

The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large BigDecimal value within a 64-bit process, related to an "integer truncation issue."

Publication Date March 23, 2011, 11 a.m.
Registration Date Jan. 28, 2021, 4:37 p.m.
Last Update Nov. 21, 2024, 10:23 a.m.
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/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:*:*:*:*:*:*:*:* 1.9.2-p136
cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*
2 cpe:2.3:o:apple:mac_os_x:10.6.0:*:*:*:*:*:*:*
3 cpe:2.3:o:apple:mac_os_x:10.6.1:*:*:*:*:*:*:*
4 cpe:2.3:o:apple:mac_os_x:10.6.2:*:*:*:*:*:*:*
5 cpe:2.3:o:apple:mac_os_x:10.6.3:*:*:*:*:*:*:*
6 cpe:2.3:o:apple:mac_os_x:10.6.4:*:*:*:*:*:*:*
7 cpe:2.3:o:apple:mac_os_x:10.6.5:*:*:*:*:*:*:*
8 cpe:2.3:o:apple:mac_os_x:10.6.6:*:*:*:*:*:*:*
9 cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*
10 cpe:2.3:o:apple:mac_os_x_server:10.6.0:*:*:*:*:*:*:*
11 cpe:2.3:o:apple:mac_os_x_server:10.6.1:*:*:*:*:*:*:*
12 cpe:2.3:o:apple:mac_os_x_server:10.6.2:*:*:*:*:*:*:*
13 cpe:2.3:o:apple:mac_os_x_server:10.6.3:*:*:*:*:*:*:*
14 cpe:2.3:o:apple:mac_os_x_server:10.6.4:*:*:*:*:*:*:*
15 cpe:2.3:o:apple:mac_os_x_server:10.6.5:*:*:*:*:*:*:*
16 cpe:2.3:o:apple:mac_os_x_server:10.6.6:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Ruby の BigDecimal クラス内にある VpMemAlloc 関数における任意のコードを実行される脆弱性
Title Ruby の BigDecimal クラス内にある VpMemAlloc 関数における任意のコードを実行される脆弱性
Summary

Ruby の BigDecimal クラス内にある bigdecimal.c の VpMemAlloc 関数には、メモリの割り当てを適切に行わないため、任意のコードを実行される、またはサービス運用妨害 (DoS) 状態となる脆弱性が存在します。

Possible impacts 攻撃者により、任意のコードを実行される、またはサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 23, 2011, midnight
Registration Date April 25, 2011, 11:25 a.m.
Last Update July 28, 2011, 10:08 a.m.
Affected System
レッドハット
Red Hat Enterprise Linux Desktop 6
Red Hat Enterprise Linux HPC Node 6
Red Hat Enterprise Linux Server 6
Red Hat Enterprise Linux Server EUS 6.1.z
Red Hat Enterprise Linux Workstation 6
サイバートラスト株式会社
Asianux Server 3 (x86)
Asianux Server 3 (x86-64)
Asianux Server 4.0
Asianux Server 4.0 (x86-64)
アップル
Apple Mac OS X v10.5.8
Apple Mac OS X v10.6 から v10.6.6
Apple Mac OS X Server v10.5.8
Apple Mac OS X Server v10.6 から v10.6.6
Ruby-lang.org
Ruby 1.9.2-p136 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2011年04月25日]
  掲載
[2011年06月30日]
  影響を受けるシステム:レッドハット (RHSA-2011:0910) の情報を追加
  ベンダ情報:レッドハット (RHSA-2011:0910) を追加
[2011年07月28日]
  影響を受けるシステム:ミラクル・リナックス (2225) の情報を追加
  影響を受けるシステム:ミラクル・リナックス (ruby-1.8.5-19.1.0.1.AXS3) の情報を追加
  ベンダ情報:ミラクル・リナックス (2225) を追加
  ベンダ情報:ミラクル・リナックス (ruby-1.8.5-19.1.0.1.AXS3) を追加
Feb. 17, 2018, 10:37 a.m.