{"id":"CVE-2022-24066","aliases":["GHSA-28xr-mwxg-3qc8"],"url":"https://o3.security/vulnerability/CVE-2022-24066","summary":"Command Injection","details":"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.","published":"2022-04-01T20:00:16.930Z","modified":"2026-07-15T01:48:57.264749178Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"simple-git","fixedVersion":"3.5.0"}],"fix":{"url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5","label":"steveukx/git-js@2040de6"},"references":[{"type":"WEB","url":"https://gist.github.com/lirantal/a930d902294b833514e821102316426b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24066.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24066"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306"},{"type":"FIX","url":"https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:57.264749178Z"}}