{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2020-7602", "ASSIGNER": "report@snyk.io", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "node-prompt-here", "version": { "version_data": [ { "version_value": "All versions including 1.0.1" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Command Injection" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115", "url": "https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "node-prompt-here through 1.0.1 allows execution of arbitrary commands. The \"runCommand()\" is called by \"getDevices()\" function in file \"linux/manager.js\", which is required by the \"index. process.env.NM_CLI\" in the file \"linux/manager.js\". This function is used to construct the argument of function \"execSync()\", which can be controlled by users without any sanitization." } ] } }