Access of Resource Using Incompatible Type ('Type Confusion') Affecting rubygems-devel package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.14% (93rd 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 Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RUBYGEMSDEVEL-1347594
  • published26 Jul 2021
  • disclosed14 Jun 2016

Introduced: 14 Jun 2016

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

How to fix?

There is no fixed version for RHEL:7 rubygems-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygems-devel package and not the rubygems-devel package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.