Shelljs version 0.2.4 is a minor update to the portable Unix shell command library for Node.js, succeeding version 0.2.3. Both versions share the same core functionality, providing developers with a convenient way to execute common Unix commands within their Node.js applications, enhancing cross-platform compatibility. The description, dependencies, development dependencies (jshint ~1.1.0), optional dependencies, repository (hosted on GitHub), and author information remain consistent between the two versions, indicating a focused effort on bug fixes and internal improvements rather than significant feature additions.
The key difference lies in the release date: version 0.2.4 was published on September 11, 2013, while version 0.2.3 was released on September 9, 2013, approximately two days prior. This short interval suggests that version 0.2.4 likely addresses critical bugs or minor issues identified shortly after the release of version 0.2.3. Developers using shelljs should upgrade to version 0.2.4 to benefit from these improvements and ensure a more stable and reliable experience. The update ensures the library remains a dependable tool for developers seeking to streamline shell scripting within their Node.js projects, particularly when aiming for cross-platform command execution. The library helps in automating tasks using Javascript reducing the need for external scripting languages and tools.
All the vulnerabilities related to the version 0.2.4 of the package
Improper Privilege Management in shelljs
shelljs is vulnerable to Improper Privilege Management
Improper Privilege Management in shelljs
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.
Patched in shelljs 0.8.5
Recommended action is to upgrade to 0.8.5.
https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/
If you have any questions or comments about this advisory: