CVE-2020-7602

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
15/03/2020
Last modified:
21/07/2021

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:* 1.0.1 (including)


References to Advisories, Solutions, and Tools