CVE-2020-7602
CRITICAL 9.8CVSS 3.1OS Command Injection in node-prompt-here
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.
- Published
- 15 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-f8fh-8rgm-227hSNYK-JS-NODEPROMPTHERE-560115
- Sources
- NVDJSONOSV GHSA-f8fh-8rgm-227hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-prompt-here_project | node-prompt-herecpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:* |
<= 1.0.1 | |
| OSV | npm | node-prompt-here | <= 1.0.1 |
References
- https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7602 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 15 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 May 2021)