Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. shelljs
  4. ›
  5. GMS-2022-11

GMS-2022-11: Improper Privilege Management in shelljs

January 14, 2022

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.

References

  • github.com/advisories/GHSA-64g7-mvw6-v9qj
  • github.com/shelljs/shelljs/security/advisories/GHSA-64g7-mvw6-v9qj
  • huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/

Code Behaviors & Features

Detect and mitigate GMS-2022-11 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.5

Fixed versions

  • 0.8.5

Solution

Upgrade to version 0.8.5 or above.

Source file

npm/shelljs/GMS-2022-11.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.