shelljs@0.0.1-alpha1 vulnerabilities

Portable Unix shell commands for Node.js

  • latest version

    0.8.5

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the shelljs package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Privilege Management

    shelljs is a wrapper for the Unix shell commands for Node.js.

    Affected versions of this package are vulnerable to Improper Privilege Management. When ShellJS is used to create shell scripts which may be running as root, users with low-level privileges on the system can leak sensitive information such as passwords (depending on implementation) from the standard output of the privileged process OR shutdown privileged ShellJS processes via the exec function when triggering EACCESS errors.

    Note: Thi only impacts the synchronous version of shell.exec().

    How to fix Improper Privilege Management?

    Upgrade shelljs to version 0.8.5 or higher.

    <0.8.5