PT-2022-28205 · Shelljs · Shelljs
Published
2022-01-14
·
Updated
2022-01-14
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
shelljs versions prior to 0.8.5
Description
The issue affects the synchronous version of the
shell.exec() function, potentially allowing output to be visible to other users on the same system, particularly in multi-user environments on Mac, Linux, or WSL, or when executed as the root user. Other shelljs functions, including the asynchronous version of shell.exec(), are not affected.Recommendations
For versions prior to 0.8.5, upgrade to version 0.8.5 to resolve the issue. As a temporary workaround, consider avoiding the use of the synchronous version of the
shell.exec() function in sensitive environments until the upgrade can be applied.Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Shelljs