Lucene search

K
osvGoogleOSV:GHSA-F8FH-8RGM-227H
HistoryMay 07, 2021 - 4:16 p.m.

OS Command Injection in node-prompt-here

2021-05-0716:16:16
Google
osv.dev
7

0.01 Low

EPSS

Percentile

83.9%

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.

CPENameOperatorVersion
node-prompt-herele1.0.1

0.01 Low

EPSS

Percentile

83.9%

Related for OSV:GHSA-F8FH-8RGM-227H