ADVISORIES

GitHub Advisory Database

GHSA-62cx-5xj4-wfm4

ggit is vulnerable to Command Injection via the fetchTags(branch) API

Moderate No fix available CVE-2024-21532

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

EcosystemPackageAffected versions
npmggit
All versions up to and including 2.4.12

References