Vulnerabilities/

Improper Privilege Management in shelljs (GHSA-64g7-mvw6-v9qj)

Severity:
Medium

Description

Output from the synchronous version of shell.exec() may be visible to other users on the same system. You may be affected if you execute shell.exec() in multi-user Mac, Linux, or WSL environments, or if you execute shell.exec() as the root user.

Other shelljs functions (including the asynchronous version of shell.exec()) are not impacted.

Recommendation

Update the shelljs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
shelljs
Anything's wrong? Let us know Last updated on January 11, 2023

This issue is available in SmartScanner Professional

See Pricing