CVE-2011-0188 Integer overflow in n/a
Integer truncation in Ruby's BigDecimal allows attackers to execute arbitrary code or crash the application via large values.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-0188?
CVE-2011-0188 is a medium-severity vulnerability in Ruby-Lang Ruby, published on 23 Mar 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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."
Weakness: CWE-189
Which versions are affected by CVE-2011-0188?
It affects 1 product.
Products include Ruby-Lang Ruby.
How do I fix CVE-2011-0188?
Upgrade to a fixed version.
Is CVE-2011-0188 being exploited?
There is no known exploitation of CVE-2011-0188 in the wild and no public exploit code.
Other vulnerabilities in Ruby-Lang Ruby
Sources
Also known as GHSA-6vch-6cgr-x9c3.