{"cve":"CVE-2024-21532","nvd":{"published":"2024-10-08T05:15:13.920","modified":"2026-06-17T07:09:41.437","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3},"cwes":["CWE-78"],"references":["https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02","https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320","https://github.com/bahmutov/ggit/blob/2e85b0316d9c272e067dca5679d39e302f4cb9cd/README.md?plain=1#L3"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-21532","score":0.01289,"percentile":0.70211,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-62cx-5xj4-wfm4","url":"https://osv.dev/vulnerability/GHSA-62cx-5xj4-wfm4","summary":"ggit is vulnerable to Command Injection via the fetchTags(branch) API","modified":"2024-10-08T15:12:10.837137Z","packages":[{"ecosystem":"npm","name":"ggit","purl":"pkg:npm/ggit","ranges":["<=2.4.12"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}