CVE-2024-21532
HIGH7.3EPSS 0.36%ggit is vulnerable to Command Injection via the fetchTags(branch) API
Published: 10/8/2024Modified: 10/8/2024
Also known as:GHSA-62cx-5xj4-wfm4
Description
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 (1)
- npm/ggitfrom 0, <= 2.4.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |