Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-f8fh-8rgm-227h

Опубликовано: 07 мая 2021
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

OS Command Injection in node-prompt-here

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.

Пакеты

Наименование

node-prompt-here

npm
Затронутые версииВерсия исправления

<= 1.0.1

Отсутствует

EPSS

Процентиль: 62%
0.00426
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-78

Связанные уязвимости

CVSS3: 9.8
nvd
почти 6 лет назад

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.

EPSS

Процентиль: 62%
0.00426
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-78