Improper Privilege Management Affecting shelljs Open this link in a new tab package, versions <0.8.5
Proof of concept
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
12 Jan 2022
11 Jan 2022
How to fix?
shelljs to version 0.8.5 or higher.
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