GHSA-f8fh-8rgm-227h

    Dashboard / Vulnerabilities / GHSA-f8fh-8rgm-227h

    GHSA-f8fh-8rgm-227h

    Published: 7 May 2021Last Modified: 8 Jul 2026

    Summary: OS Command Injection in node-prompt-here

    Details: 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.

    Affected packages

    Package

    Name: node-prompt-here

    Purl: pkg:npm/node-prompt-here

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-f8fh-8rgm-227h | CVE-DB