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:
- Affected version(s): < 0.8.5
- Patched version(s): 0.8.5
References
Related Issues
- Improper Privilege Management in shelljs - CVE-2022-0144
- Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability (GHSA-m5vv-6r4h-3vj9) - CVE-2024-35255
- Improper Verification of Cryptographic Signature (GHSA-7r96-8g3x-g36m) - Vulnerability
- Strapi Improper Rate Limiting vulnerability (GHSA-24q2-59hm-rh9r) - CVE-2023-38507
- Tags:
- npm
- shelljs
Anything's wrong? Let us know Last updated on January 11, 2023