snyk-playground / demo_actions

0 stars 0 forks source link

High severity - Improper Privilege Management vulnerability in shelljs (frontend/package.json) #15

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

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().

Remediation

Upgrade shelljs to version 0.8.5 or higher.

References