{"id":"CVE-2024-21532","published":"2024-10-08T05:00:03Z","modified":"2026-03-21T22:20:29Z","title":"All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02212,"percentile":0.83298,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320","tags":[]},{"url":"https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02","tags":[]},{"url":"https://github.com/bahmutov/ggit/blob/2e85b0316d9c272e067dca5679d39e302f4cb9cd/README.md?plain=1#L3","tags":[]}],"priority":{"score":26.8,"factors":[{"name":"EPSS percentile","points":16.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-05-10","earliestUrl":"https://github.com/lirantal/CVE-2024-21532-PoC-ggit","repos":[{"name":"lirantal/CVE-2024-21532-PoC-ggit","url":"https://github.com/lirantal/CVE-2024-21532-PoC-ggit","stars":0,"created":"2025-05-10"}]},"first":{"date":"2025-05-10","source":"PoC-in-GitHub","url":"https://github.com/lirantal/CVE-2024-21532-PoC-ggit"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"ggit","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-08T13:59:35.467621Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ggit","vulnerableRanges":["<=2.4.12"],"patched":[],"from":["GHSA-62cx-5xj4-wfm4"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2956","exploited":false,"provenance":"source"}}