CVE-2020-7602
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.
- Score
- CVSS 3.1 9.8 Critical
- Status
- Modified - report@snyk.io
- Published
- 2020-03-15
- Last modified
- 2024-08-04
- Weaknesses
- CWE-78
Affected products
References
- https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115