Numeric Errors Affecting ruby-libs package, versions <0:1.8.5-5.el5_2.3


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
2% (89th 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-ORACLE5-RUBYLIBS-2449861
  • published10 Apr 2022
  • disclosed24 Jun 2008

Introduced: 24 Jun 2008

CVE-2008-2725  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Oracle:5 ruby-libs to version 0:1.8.5-5.el5_2.3 or higher.
This issue was patched in ELSA-2008-0561.

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 Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N" variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. The CVE description should be regarded as authoritative, although it is likely to change.

References

CVSS Scores

version 3.1