{"cve":"CVE-2022-24437","nvd":{"published":"2022-05-01T16:15:08.423","modified":"2026-06-17T04:31:50.690","status":"Modified","description":"The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to it may be a command-line argument to the git clone command and result in arbitrary command injection.","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://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7b","https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3","https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307","https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7b","https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3"],"products":["git-pull-or-clone_project:git-pull-or-clone"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-24437","score":0.03738,"percentile":0.89845,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3x62-x456-q2vm","url":"https://osv.dev/vulnerability/GHSA-3x62-x456-q2vm","summary":"OS Command Injection in git-pull-or-clone","modified":"2026-07-08T06:49:59.349069981Z","packages":[{"ecosystem":"npm","name":"git-pull-or-clone","purl":"pkg:npm/git-pull-or-clone","ranges":["<2.0.2"],"fixed":["2.0.2"]}]}],"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."]}