workspace-tools@0.7.5 vulnerabilities

A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:

Direct Vulnerabilities

Known vulnerabilities in the workspace-tools package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Command Injection

workspace-tools is a JS Monorepo Workspace Tools.

Affected versions of this package are vulnerable to Command Injection via git argument injection. When calling the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function, both the remote and remoteBranch parameters are passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

How to fix Command Injection?

Upgrade workspace-tools to version 0.18.4 or higher.

<0.18.4