Skip to content
OpenAdvisories
Unscored CVE-2016-2337 EUVD-2016-3421GHSA-f58m-77qc-8gjv

Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Attacker passing different type of object than String as "retval" argume…

Published Jan 6, 2017 · Updated Aug 5, 2024 · Assigned by certcc

Description

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.

Affected products

VendorProductAffectedFixed
Ruby Ruby 2.3.0 dev, 2.2.2 —
Tcl Tcl/Tk 8.6 or later —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 ruby2.1 2.1.5-2+deb8u5 DLA-1480-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ruby2.3 2.3.1-2~16.04.2 USN-3365-1
Ubuntu 14.04 LTS ruby1.9.1 1.9.3.484-2ubuntu1.3 USN-3365-1
Ubuntu 14.04 LTS ruby2.0 2.0.0.484-1ubuntu2.4 USN-3365-1

Advisories 2

References