Lucene search

K
rubygemsRubySecRUBY:RUBY-2011-0188
HistoryFeb 28, 2011 - 9:00 p.m.

Ruby memory corruption in BigDecimal on 64bit platforms

2011-02-2821:00:00
RubySec
rubysec.com
11

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

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

Affected configurations

Vulners
Node
rubyrubyRange1.8.7.3691.8.8.0
OR
rubyrubyRange<1.9.3.1
VendorProductVersionCPE
rubyruby*cpe:2.3:a:ruby:ruby:*:*:*:*:*:*:*:*

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P