{"cve":"CVE-2022-24433","nvd":{"published":"2022-03-11T17:16:06.510","modified":"2026-06-17T04:31:50.193","status":"Modified","description":"The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-88"],"references":["https://github.com/steveukx/git-js/pull/767","https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245","https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199","https://github.com/steveukx/git-js/pull/767"],"products":["simple-git_project:simple-git"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-24433","score":0.03707,"percentile":0.89749,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3f95-r44v-8mrg","url":"https://osv.dev/vulnerability/GHSA-3f95-r44v-8mrg","summary":"Command injection in simple-git","modified":"2025-01-14T10:56:50.435786Z","packages":[{"ecosystem":"npm","name":"simple-git","purl":"pkg:npm/simple-git","ranges":["<3.3.0"],"fixed":["3.3.0"]}]}],"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."]}