Improper Privilege Management Affecting org.webjars.bowergithub.shelljs:shelljs package, versions [0,]


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.05% (17th percentile)
Expand this section
NVD
7.1 high
Expand this section
Red Hat
7.1 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGWEBJARSBOWERGITHUBSHELLJS-2332190
  • published 12 Jan 2022
  • disclosed 11 Jan 2022
  • credit haxatron

How to fix?

There is no fixed version for org.webjars.bowergithub.shelljs:shelljs.

Overview

org.webjars.bowergithub.shelljs: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().