National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2011-0188 Detail

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

Source:  MITRE
Description Last Modified:  03/22/2011

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.8 MEDIUM
Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Victim must voluntarily interact with attack mechanism
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

Evaluator Impact

Per: http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html 'This issue only affects 64-bit Ruby processes'.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html Patch Vendor Advisory
http://support.apple.com/kb/HT4581 Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993 Patch Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
http://www.mandriva.com/security/advisories?name=MDVSA-2011:098
http://www.redhat.com/support/errata/RHSA-2011-0908.html
http://www.redhat.com/support/errata/RHSA-2011-0909.html
http://www.redhat.com/support/errata/RHSA-2011-0910.html
http://www.securitytracker.com/id?1025236
https://bugzilla.redhat.com/show_bug.cgi?id=682332 Patch

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
1.9.2-p136
Running on/with
 cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x:10.6.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:apple:mac_os_x_server:10.6.6:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2011-0188
NVD Published Date:
03/22/2011
NVD Last Modified:
08/23/2011