Skip to content
OpenAdvisories
Unscored CVE-2011-0188 EUVD-2011-0214GHSA-6vch-6cgr-x9c3

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…

Published Mar 23, 2011 · Updated Aug 6, 2024 · Assigned by apple

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 ruby1.8 1.8.7.302-2squeeze3 DLA-88-1
Debian 6.0 ruby1.9.1 1.9.2.0-2+deb6u4 DLA-235-1
ReleasePackageFixed inAdvisory
RHEL 6 ruby +8 1.8.7.299-7.el6_1.1 RHSA-2011:0910
RHEL 5 ruby +8 1.8.5-19.el5_6.1 RHSA-2011:0909
RHEL 4 irb +6 1.8.1-16.el4 RHSA-2011:0908
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 ruby3.3 +5 3.3.10-23.1.hum1 RHSA-2026:7305
Red Hat Hardened Images 1 ruby3.4 +5 3.4.8-31.1.hum1 RHSA-2026:7307
Red Hat Hardened Images 1 ruby4.0 +5 4.0.0-33.3.hum1 RHSA-2026:8838

Advisories 8

References