Vulnerability record · CVE-2022-24433 · published 11 March 2022
CVE-2022-24433: Simple-git project simple-git argument injection vulnerability
SSimple Git Project · Simple Git
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.
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: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://github.com/steveukx/git-js/pull/767 | PatchThird Party Advisory |
| https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199 | PatchThird Party Advisory |
| https://github.com/steveukx/git-js/pull/767 | PatchThird Party Advisory |
| https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199 | PatchThird Party Advisory |
Track CVE-2022-24433 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-24433), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.