@graphql-tools/git-loader@6.2.4 vulnerabilities

A set of utils for faster development of GraphQL tools

Direct Vulnerabilities

Known vulnerabilities in the @graphql-tools/git-loader 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
  • M
Command Injection

Affected versions of this package are vulnerable to Command Injection. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection. As this is a dev tool input is generally controlled by the user that executes the command.

How to fix Command Injection?

Upgrade @graphql-tools/git-loader to version 6.2.6 or higher.

<6.2.6