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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.026 (84.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 84.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: 0.000
Affected products
- Node-Prompt-Here Project
- Node-Prompt-Here — versions All versions including 1.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115 (Exploit, Third Party Advisory)
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.