Numeric Errors Affecting ruby-libs package, versions <0:1.8.7.299-7.el6_1.1


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
3.04% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-RUBYLIBS-2046391
  • published26 Jul 2021
  • disclosed1 Mar 2011

Introduced: 1 Mar 2011

CVE-2011-0188  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Centos:6 ruby-libs to version 0:1.8.7.299-7.el6_1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-libs package and not the ruby-libs package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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

CVSS Scores

version 3.1