Skip to content
Fencer Intel
medium —

GHSA-64g7-mvw6-v9qj json

Improper Privilege Management in shelljs

published 4y ago modified 4y ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

### 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

Patch / fix

  • npm shelljs 0.8.5

Is GHSA-64g7-mvw6-v9qj in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
npm shelljs
<0.8.5
0.8.5

Classification

Weakness
  • CWE-269 Improper Privilege Management

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of shelljs/shelljs published their own advisory on GitHub. Reviewed sources take precedence over it.