GitHub Advisory Database
GHSA-62cx-5xj4-wfm4
ggit is vulnerable to Command Injection via the fetchTags(branch) API
Details
All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along with a git command which is then passed to the unsafe exec() Node.js child process API.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | ggit | All versions up to and including 2.4.12 |