NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-21532: ggit is vulnerable to Command Injection via the fetchTags(branch) API

mediumCVSS 4.0 6.9 · 3.1 7.3GHSA-62cx-5xj4-wfm4

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.

Published Oct 8, 2024

Affected packages

ggit

Ecosystem
npm
Affected
<= 2.4.12
Fixed in
No patched version yet
Check
npm ls ggit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries