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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:37
Type | Values Removed | Values Added |
---|---|---|
References | () https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 - Exploit, Third Party Advisory |
Information
Published : 2020-03-15 22:15
Updated : 2024-11-21 05:37
NVD link : CVE-2020-7602
Mitre link : CVE-2020-7602
CVE.ORG link : CVE-2020-7602
JSON object : View
Products Affected
node-prompt-here_project
- node-prompt-here
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')