Out-of-Bounds Affecting ruby1.9.1 package, versions <1.9.3.484-2ubuntu1.3


Severity

Recommended
low

Based on Ubuntu security rating.

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-UBUNTU1404-RUBY191-321159
  • published6 Jan 2017
  • disclosed6 Jan 2017

Introduced: 6 Jan 2017

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

How to fix?

Upgrade Ubuntu:14.04 ruby1.9.1 to version 1.9.3.484-2ubuntu1.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby1.9.1 package and not the ruby1.9.1 package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

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.