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
2.54% (90th 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-2370206
  • published26 Jan 2022
  • disclosed6 Jan 2017
  • creditUnknown

Introduced: 6 Jan 2017

CVE-2016-2336  (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 two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Attacker passing different type of object than this assumed by developers can cause arbitrary code execution.

CVSS Scores

version 3.1