{"api_version":"1","generated_at":"2026-06-17T18:15:13+00:00","cve":"CVE-2016-2337","urls":{"html":"https://cve.report/CVE-2016-2337","api":"https://cve.report/api/cve/CVE-2016-2337.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-2337","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-2337"},"summary":{"title":"CVE-2016-2337","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.","state":"PUBLISHED","assigner":"certcc","published_at":"2017-01-06 21:59:00","updated_at":"2026-05-06 22:30:45"},"problem_types":["NVD-CWE-Other","type confusion"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/bid/91233","name":"http://www.securityfocus.com/bid/91233","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ruby TclTkIp 'ip_cancel_eval()' Function Type Confusion Remote Code Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://security.gentoo.org/glsa/201710-18","name":"https://security.gentoo.org/glsa/201710-18","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ruby: Multiple vulnerabilities (GLSA 201710-18) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html","name":"https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] [DLA 1480-1] ruby2.1 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0031/","name":"http://www.talosintelligence.com/reports/TALOS-2016-0031/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Technical Description","Third Party Advisory","VDB Entry"],"title":"Cisco Talos - Talos 2016 0031","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2337","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2337","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Ruby","product":"Ruby","version":"affected 2.3.0 dev","platforms":[]},{"source":"CNA","vendor":"Ruby","product":"Ruby","version":"affected 2.2.2","platforms":[]},{"source":"CNA","vendor":"Tcl","product":"Tcl/Tk","version":"affected 8.6 or later","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"2337","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.2.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"2337","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2016","cve_id":"2337","cve":"CVE-2016-2337","epss":"0.008050000","percentile":"0.742190000","score_date":"2026-05-11","updated_at":"2026-05-12 00:01:18"},"legacy_qids":[{"cve":"CVE-2016-2337","qid":"710368","title":"Gentoo Linux Ruby Multiple Vulnerabilities (GLSA 201710-18)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T23:24:49.158Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.talosintelligence.com/reports/TALOS-2016-0031/"},{"name":"91233","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/91233"},{"name":"[debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html"},{"name":"GLSA-201710-18","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201710-18"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"Ruby","vendor":"Ruby","versions":[{"status":"affected","version":"2.3.0 dev"},{"status":"affected","version":"2.2.2"}]},{"product":"Tcl/Tk","vendor":"Tcl","versions":[{"status":"affected","version":"8.6 or later"}]}],"datePublic":"2016-06-14T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"type confusion","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-08-28T09:57:01.000Z","orgId":"37e5125f-f79b-445b-8fad-9564f167944b","shortName":"certcc"},"references":[{"tags":["x_refsource_MISC"],"url":"http://www.talosintelligence.com/reports/TALOS-2016-0031/"},{"name":"91233","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/91233"},{"name":"[debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html"},{"name":"GLSA-201710-18","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201710-18"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","ID":"CVE-2016-2337","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Ruby","version":{"version_data":[{"version_value":"2.3.0 dev"},{"version_value":"2.2.2"}]}}]},"vendor_name":"Ruby"},{"product":{"product_data":[{"product_name":"Tcl/Tk","version":{"version_data":[{"version_value":"8.6 or later"}]}}]},"vendor_name":"Tcl"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"type confusion"}]}]},"references":{"reference_data":[{"name":"http://www.talosintelligence.com/reports/TALOS-2016-0031/","refsource":"MISC","url":"http://www.talosintelligence.com/reports/TALOS-2016-0031/"},{"name":"91233","refsource":"BID","url":"http://www.securityfocus.com/bid/91233"},{"name":"[debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00028.html"},{"name":"GLSA-201710-18","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201710-18"}]}}}},"cveMetadata":{"assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","assignerShortName":"certcc","cveId":"CVE-2016-2337","datePublished":"2017-01-06T21:00:00.000Z","dateReserved":"2016-02-12T00:00:00.000Z","dateUpdated":"2024-08-05T23:24:49.158Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-01-06 21:59:00","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["NVD-CWE-Other","type confusion"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*","matchCriteriaId":"5FCCD8F3-E667-42F2-9861-14EDFB16583A"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*","matchCriteriaId":"822307DD-7F7D-44C2-9C4B-CB8704663410"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"2337","Ordinal":"1","Title":"CVE-2016-2337","CVE":"CVE-2016-2337","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"2337","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2016-2337"},{"CveYear":"2016","CveId":"2337","Ordinal":"2","NoteData":"2017-01-06","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"2337","Ordinal":"3","NoteData":"2018-08-28","Type":"Other","Title":"Modified"}]}}}