Critical severity9.8OSV Advisory· Published Mar 15, 2020· Updated Jun 17, 2026
CVE-2020-7602
CVE-2020-7602
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
node-prompt-herenpm | <= 1.0.1 | — |
Affected products
3- Range: v1.0.1
- cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:*Range: <=1.0.1
Patches
Vulnerability mechanics
References
3- snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-f8fh-8rgm-227hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7602ghsaADVISORY
News mentions
0No linked articles in our index yet.