Skip to content

CVE-2020-7602 OS Command Injection in node-prompt-here

CriticalCVSS 9.8 EPSS 2.7%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
npm node-prompt-here(npm) <= 1.0.1 No fix listed
node-prompt-here project node-prompt-here <= 1.0.1 No fix listed

References