Arbitrary Code Execution 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
3.55% (92nd 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RUBY-2370154
  • published26 Jan 2022
  • disclosed6 Jan 2017
  • creditUnknown

Introduced: 6 Jan 2017

CVE-2016-2337  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for ruby.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Attacker passing different type of object than String as "retval" argument can cause arbitrary code execution.

CVSS Scores

version 3.1