Thanks to visit codestin.com
Credit goes to github.com

Skip to content

0.8.3 high severity vuln #945

@dannypaz

Description

@dannypaz

Node version (or tell us if you're using electron or some other framework):

Node 8+

ShellJS version (the most recent version/Github branch you see the bug on):

Operating system:

macOS

Description of the bug:

Received warnings on PM2 that shelljs got tagged for a security vulnerability.

WS-2017-3737
More information
moderate severity
Vulnerable versions: <= 0.8.3
Patched version: No fix

Shelljs 0.8.3 and before are vulnerable to Command Injection. Commands can be invoked from shell.exec(), those commands will include input from external sources, to be passed as arguments to system executables and allowing an attacker to inject arbitrary commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    execIssues specific to the shell.exec() APIsecurity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions