CVE-2011-0188
MEDIUM 6.8CVSS 2.0The 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."
- Published
- 23 Mar 2011
- Last modified
- 16 Jun 2026
- Assigned by
- product-security@apple.com
- NVD status
- Modified
- Weakness
- CWE-189
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
<= 1.9.2-p136 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:* |
= 1.9 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:* |
= 1.9 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:* |
= 1.9.0-0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:* |
= 1.9.0-1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:* |
= 1.9.0-2 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:* |
= 1.9.0-20060415 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:* |
= 1.9.0-20070709 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:* |
= 1.9.2 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:* |
= 1.9.2 |
References
- 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
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 23 Mar 2011)