
Cloud Vulnerability DB
A community-led vulnerabilities database
A moderate severity vulnerability (GHSA-64g7-mvw6-v9qj, CVE-2022-0144) was discovered in shelljs npm package affecting versions prior to 0.8.5. The vulnerability was published on January 14, 2022, and is classified as an Improper Privilege Management issue (CWE-269). The vulnerability specifically affects the synchronous version of shell.exec() function in shelljs package (GitHub Advisory).
The vulnerability is related to improper privilege management in the synchronous version of shell.exec() function, where the output may be visible to other users on the same system. This issue specifically manifests in multi-user environments such as Mac, Linux, or WSL, and becomes particularly concerning when shell.exec() is executed with root privileges. Notably, other shelljs functions, including the asynchronous version of shell.exec(), are not affected by this vulnerability (GitHub Advisory).
The primary impact of this vulnerability is that output from the synchronous version of shell.exec() could be exposed to other users on the same system, potentially leading to information disclosure. This is particularly concerning in shared environments or when the function is executed with elevated privileges (GitHub Advisory).
The vulnerability has been patched in shelljs version 0.8.5. The recommended action is to upgrade to this version or later. No alternative workarounds have been provided, making the upgrade the only secure solution (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."