Vulnerability in Ruby-Lang Ruby
CVE-2011-0188
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."
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 1.9, 1.9.0, 1.9.0-0
Weakness classification (CWE)
References
- RHSA-2011:0910 (vendor-advisory)
- www.securitytracker.com/id (vdb-entry)
- MDVSA-2011:098 (vendor-advisory)
- RHSA-2011:0909 (vendor-advisory)
- APPLE-SA-2011-03-21-1 (vendor-advisory, Patch, Vendor Advisory)
- RHSA-2011:0908 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c (Patch, Vendor Advisory)
- MDVSA-2011:097 (vendor-advisory)
- support.apple.com/kb/HT4581 (Patch)