Integer Overflow or Wraparound Affecting ruby package, versions [,1.8.4](1.8.5,1.8.5.231)[1.8.6,1.8.6.230)[1.8.7,1.8.7.22)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (82nd 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-UNMANAGED-RUBY-2370170
  • published26 Jan 2022
  • disclosed24 Jun 2008
  • creditUnknown

Introduced: 24 Jun 2008

CVE-2008-2663  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.8.5.231, 1.8.6.230, 1.8.7.22 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in the rb_ary_store 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors, a different issue than CVE-2008-2662, CVE-2008-2664, and CVE-2008-2725. 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