RCE in Node-Prompt-Here Project
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.026 (83.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Node-prompt-here_project Node-prompt-here
- N/a Node-prompt-here — versions All versions including 1.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-7602?
- CVE-2020-7602 is a critical-severity vulnerability in Node-Prompt-Here Project, classified under OS Command Injection. CVSS score: 9.8/10. Published 2020-03-15.
- How severe is CVE-2020-7602?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2020-7602 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.