SecurityContext

CVE-2011-0188: Ruby BigDecimal - Integer Overflow

  • Cve: CVE-2011-0188
  • Name: Ruby BigDecimal - Integer Overflow
  • 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."
  • Impact: Attackers can execute arbitrary code or cause application crashes by exploiting memory allocation flaws with large BigDecimal values.
  • Remediation: Update Ruby to version 1.9.2-p137 or later, and apply platform-specific patches or updates to address the issue.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.03025
  • Epss percentile: 0.87804
  • Assignee: [email protected]
  • Published at: 2011-03-23T02:00:06Z
  • Age in days: 5725
  • Modified at: 2026-06-16T23:26:58Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-0188
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-189—

References

Same in every row:

  • Source: nvd
UrlTags
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.htmlPatch, Vendor Advisory
http://support.apple.com/kb/HT4581Patch
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993Patch, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=682332Patch
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

Products

ProductAffectedPlatform boundSourcesUrl
ruby-lang:ruby= 1.9.0-20070709, = 1.9.0-20060415, = 1.9 r18423, = 1.9.0 r18423, = 1.9.1 -p429, = 1.9.1 -p376, = 1.9.1 -p243, <= 1.9.2-p136, = 1.9.1 -p129, = 1.9.0-2, = 1.9.1 -preview_2, = 1.9.1 -rc2, = 1.9.2, = 1.9.2 dev, = 1.9.1, = 1.9.1 -p0, = 1.9.1 -preview_1, = 1.9.1 -rc1, = 1.9.0, = 1.9.0-0, = 1.9.0-1, = 1.9yesnvd/v1/products/ruby-lang/ruby

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 2449609
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports