Vulnerabilities · 2011 · Ruby-lang
CVE-2011-0188
Ruby-lang Ruby vulnerability
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 products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apple.com/archives/security-announce/2011/Mar/msg00006.html · Patch
- svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993 · Patch
- support.apple.com/kb/HT4581 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=682332 · Patch
- www.mandriva.com/security/advisories?name=MDVSA-2011:097
- www.mandriva.com/security/advisories?name=MDVSA-2011:098
- www.redhat.com/support/errata/RHSA-2011-0908.html
- www.redhat.com/support/errata/RHSA-2011-0909.html
- nvd.nist.gov/vuln/detail/CVE-2011-0188
- cve.org/CVERecord?id=CVE-2011-0188
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.