Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High severity - Improper Privilege Management vulnerability in shelljs (frontend/package.json) #15

Closed
github-actions bot opened this issue May 26, 2022 · 0 comments

Comments

@github-actions
Copy link

  • Package Manager: npm
  • Vulnerable module: shelljs
  • Introduced through: ts-link-akta@0.2.0, node-opcua@0.2.3 and others

Detailed paths

  • Introduced through: ts-link-akta@0.2.0 › node-opcua@0.2.3 › node-opcua-client@0.2.3 › node-opcua-hostname@0.2.2 › fqdn@0.0.3 › shelljs@0.3.0

Overview

shelljs is a wrapper for the Unix shell commands for Node.js.

Affected versions of this package are vulnerable to Improper Privilege Management. When ShellJS is used to create shell scripts which may be running as root, users with low-level privileges on the system can leak sensitive information such as passwords (depending on implementation) from the standard output of the privileged process OR shutdown privileged ShellJS processes via the exec function when triggering EACCESS errors.

Note: Thi only impacts the synchronous version of shell.exec().

Remediation

Upgrade shelljs to version 0.8.5 or higher.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant