Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsA fix was pushed into the master branch but not yet published.
org.webjars.npm:shell-quote is a package used to quote and parse shell commands.
Affected versions of this package are vulnerable to Command Injection via the quote function when a { comment } token is followed by a string token containing a line terminator. A { comment } token emits a #-prefixed string that comments out the rest of the shell line, including the opening quote of any subsequent string token. A line terminator inside that subsequent string ends the comment, causing the remainder of the string to be interpreted as shell input - for example, quote(['echo', { comment: 'x' }, 'a\nid;#']) executes id in sh, bash, zsh, ksh, and dash. Because parse emits a comment token for a mid-word # (such as in a URL fragment), appending tokens to parse output is sufficient to reach the vulnerable code path.