CVE-2016-2337

Source
https://cve.org/CVERecord?id=CVE-2016-2337
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-2337.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-2337
Downstream
Published
2017-01-06T21:59:00.460Z
Modified
2026-04-16T01:47:52.025472347Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Type confusion exists in canceleval Ruby's TclTkIp class method. Attacker passing different type of object than String as "retval" argument can cause arbitrary code execution.

References

Affected packages

Git / github.com/ruby/ruby

Affected ranges

Type
GIT
Repo
https://github.com/ruby/ruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Last affected
Database specific
{
    "cpe": [
        "cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*"
    ],
    "source": "CPE_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.2.2"
        },
        {
            "last_affected": "2.3.0"
        }
    ]
}

Affected versions

Other
v1_0_r2
v2_2_0_rc1
v2_2_2
v2_3_0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-2337.json"