angularangular8shelljs

Error message: Shelljs 0.8.3 and before are vulnerable to Command Injection


I am getting this error on my github alerts after updating my project to angular 8.0.3.

It is a vulnerability with no remediation.

No patched version is available.

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.

Does anybody have any information available on this?


Solution

  • I'm the ShellJS maintainer. The details are in this comment, but to summarize:

    The previous answer says this "may be" a vulnerability, but I've since clarified on the Github thread this is not a vulnerability in our module, and direct dependencies need to make sure they use our module safely and securely.