CVE-2011-0188

Severity CVSS v4.0:
Pending analysis
Type:
CWE-189 Numeric Errors
Publication date:
23/03/2011
Last modified:
11/04/2025

Description

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."

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1.9.2-p136 (including)
cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*
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:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*