{"id":"CVE-2022-24066","published":"2022-04-01T20:00:16Z","modified":"2024-09-16T21:08:34Z","title":"Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03896,"percentile":0.90215,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.04},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":"n/a","product":"simple-git","versions":[">= unspecified, < 3.5.0"]}],"affected":[{"ecosystem":"npm","package":"simple-git","vulnerableRanges":["<3.5.0"],"patched":["3.5.0"],"from":["GHSA-28xr-mwxg-3qc8"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1593","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-steveukx-simple-git-cve-2022-24433","parents":[{"from":"CVE-2022-24433","to":"CVE-2022-24066","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 which only patches against the git fetch attack vector.","from":"CVE.org","in":"CVE-2022-24066"},{"kind":"version-step","provenance":"source","package":"npm:simple-git","fromFixed":"3.3.0","toFixed":"3.5.0","daysApart":21}]}],"children":[{"from":"CVE-2022-24066","to":"CVE-2022-25912","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This vulnerability exists due to an incomplete fix of CVE-2022-24066.","from":"CVE.org","in":"CVE-2022-25912"},{"kind":"version-step","provenance":"source","package":"npm:simple-git","fromFixed":"3.5.0","toFixed":"3.15.0","daysApart":255},{"kind":"similar","provenance":"machine","score":0.63,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-24433","published":"2022-03-11","fixed":"3.3.0","kev":false},{"cve":"CVE-2022-24066","published":"2022-04-01","fixed":"3.5.0","kev":false},{"cve":"CVE-2022-25912","published":"2022-12-12","fixed":"3.15.0","kev":false},{"cve":"CVE-2022-25860","published":"2023-01-24","fixed":"3.16.0","kev":false},{"cve":"CVE-2026-28291","published":"2026-04-13","fixed":"3.32.0","kev":false}],"package":"npm:simple-git"}}