Vulnerability record · CVE-2022-24066 · published 1 April 2022
CVE-2022-24066: Simple-git project simple-git argument injection vulnerability
SSimple Git Project · Simple Git
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gist.github.com/lirantal/a930d902294b833514e821102316426b | ExploitThird Party Advisory |
| https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 | PatchThird Party Advisory |
| https://gist.github.com/lirantal/a930d902294b833514e821102316426b | ExploitThird Party Advisory |
| https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 | PatchThird Party Advisory |
Track CVE-2022-24066 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-24066), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.