logo

CVE-2020-7602 node-prompt-here

Package

Manager: npm
Name: node-prompt-here
Vulnerable Version: >=0 <=1.0.1

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00426 pctl0.61422

Details

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.

Metadata

Created: 2021-05-07T16:16:16Z
Modified: 2023-09-13T17:35:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-f8fh-8rgm-227h/GHSA-f8fh-8rgm-227h.json
CWE IDs: ["CWE-78"]
Alternative ID: GHSA-f8fh-8rgm-227h
Finding: F404
Auto approve: 1