🛡️ GHSA-64g7-mvw6-v9qj — shelljs

⚪ Unknown ✅ No Known Exploit CWE-269 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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

github.com (Web)
github.com (Package)
huntr.dev (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-269
Public Exploit ✅ No
Source OSV
Published 2022-01-14
Updated 2026-08-20
Modified 2022-01-14
Fix URL N/A

Affected Packages

Software From version Fixed in
shelljs

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.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated