CVEvulnerability
CVE-2020-7602
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-03-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
Description
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.
Affected configurations
• node-prompt-here project node-prompt-here (<= 1.0.1)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 Exploit, Third Party Advisory