CVE-2020-7602 Information

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Reference

https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score

HIGH

Base Severity

9.8

Share on: