MEDIUM6.5
GHSA-pr45-cg4x-ff4m
ggit is vulnerable to Arbitrary Argument Injection via the clone() API
Details
All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/ggit
Introduced in:
0No fixed version published yet for ggit (npm). Pin to a known-safe version or switch to an alternative.