{"api_version":"1","generated_at":"2026-07-24T17:18:56+00:00","cve":"CVE-2017-16226","urls":{"html":"https://cve.report/CVE-2017-16226","api":"https://cve.report/api/cve/CVE-2017-16226.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16226","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16226"},"summary":{"title":"CVE-2017-16226","description":"The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.","state":"PUBLIC","assigner":"support@hackerone.com","published_at":"2018-06-07 02:29:00","updated_at":"2019-10-09 23:24:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/substack/static-eval/pull/18","name":"https://github.com/substack/static-eval/pull/18","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Security Issues by matt- · Pull Request #18 · browserify/static-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://nodesecurity.io/advisories/548","name":"https://nodesecurity.io/advisories/548","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Overview","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://maustin.net/articles/2017-10/static_eval","name":"https://maustin.net/articles/2017-10/static_eval","refsource":"MISC","tags":["Third Party Advisory"],"title":"maustin.net  | Unsafe Code Execution in static-eval","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16226","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16226","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"16226","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"static-eval_project","cpe5":"static-eval","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"16226","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"static-eval_project","cpe5":"static-eval","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-16226","qid":"983082","title":"Nodejs (npm) Security Update for static-eval (GHSA-5mjw-6jrh-hvfq)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2017-16226","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"static-eval node module node module","version":{"version_data":[{"version_value":"<=1.1.1"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Input Validation (CWE-20)"}]}]},"references":{"reference_data":[{"name":"https://nodesecurity.io/advisories/548","refsource":"MISC","url":"https://nodesecurity.io/advisories/548"},{"name":"https://maustin.net/articles/2017-10/static_eval","refsource":"MISC","url":"https://maustin.net/articles/2017-10/static_eval"},{"name":"https://github.com/substack/static-eval/pull/18","refsource":"MISC","url":"https://github.com/substack/static-eval/pull/18"}]}},"nvd":{"publishedDate":"2018-06-07 02:29:00","lastModifiedDate":"2019-10-09 23:24:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:static-eval_project:static-eval:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"16226","Ordinal":"113735","Title":"CVE-2017-16226","CVE":"CVE-2017-16226","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"16226","Ordinal":"1","NoteData":"The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"16226","Ordinal":"2","NoteData":"2018-06-06","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"16226","Ordinal":"3","NoteData":"2018-06-06","Type":"Other","Title":"Modified"}]}}}