🛡️ GHSA-64g7-mvw6-v9qj — shelljs
Description
Improper Privilege Management in shelljs
Impact
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.
Patches
Patched in shelljs 0.8.5
Workarounds
Recommended action is to upgrade to 0.8.5.
References
https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/
For more information
If you have any questions or comments about this advisory:
- Ask at https://github.com/shelljs/shelljs/issues/1058
- Open an issue at https://github.com/shelljs/shelljs/issues/new
Weakness class
GHSA-64g7-mvw6-v9qj is classified as CWE-269: Improper Privilege Management. Privileges are assigned, dropped or restored incorrectly, leaving an actor with more access than intended.
Affected software
GHSA-64g7-mvw6-v9qj is recorded against 1 package.
- shelljs
Timeline and source
Published on 14 January 2022. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| shelljs | — | — |
References
Similar Threats
- Unknown CLSA-2026-1775089657
- Unknown CLSA-2026-1775089658
- Unknown CLSA-2026-1784682961
- Unknown CLSA-2026-1785291224
- High ROOT-APP-NPM-CVE-2022-0144
Free Vulnerability Check
Is your site affected by GHSA-64g7-mvw6-v9qj?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-64g7-mvw6-v9qj and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.