Out-of-Bounds Affecting ruby package, versions [2.2.2,2.3.0]


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.39% (87th 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-2370172
  • published26 Jan 2022
  • disclosed6 Jan 2017
  • creditUnknown

Introduced: 6 Jan 2017

CVE-2016-2339  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

There is no fixed version for ruby.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.

CVSS Scores

version 3.1