CVE-2016-2337 json
Type confusion exists in _cancel_eval Ruby's TclTkIp class method.
published 2017-01-06 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-3421
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.2%
- EPSS 6.2% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ruby2.0 Ubuntu 14.04 LTS 2.0.0.484-1ubuntu2.4
- ruby1.9.1 Ubuntu 14.04 LTS 1.9.3.484-2ubuntu1.3
ubuntu advisories UBUNTU-CVE-2016-2337
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-2337 updated cvss 7.0
ruby: TclTkIp ip_cancel_eval type confusion vulnerability
-
Red Hat CloudForms Management Engine 5 ruby-200-ruby, rh-ruby22-ruby Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltk Red Hat Enterprise Linux 7 ruby, ruby-irb, rubygems, ruby-libs, ruby-tcltk, rubygem-json, +6 more Red Hat Software Collections ruby200-ruby, rh-ruby22-ruby, rh-ruby23-ruby, ruby200-ruby-irb, ruby200-rubygems, ruby200-ruby-libs, +36 moreaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.15% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- talosintelligence.com http://www.talosintelligence.com/reports/TALOS-2016-0031/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Ruby Ruby
- Tcl Tcl/Tk
References
-
talosintelligence.com
/reports/TALOS-2016-0031/
exploit, technical-description, third-party-advisory, vdb-entry
-
security.gentoo.org
/glsa/201710-18
vendor-advisory
-
securityfocus.com
/bid/91233
vdb-entry
-
lists.debian.org
/debian-lts-announce/2018/08/msg00028.html
mailing-list
Sources
- CVE List CVE-2016-2337
- NVD CVE-2016-2337
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.