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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2020-03-15T21:26:22

Updated: 2024-08-04T09:33:19.938Z

Reserved: 2020-01-21T00:00:00

Link: CVE-2020-7602

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-03-15T22:15:14.583

Modified: 2024-11-21T05:37:27.360

Link: CVE-2020-7602

cve-icon Redhat

No data.