Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Simple-Git Project | Simple-Git | < 3.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/steveukx/git-js/pull/767PatchThird Party Advisory
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199PatchThird Party Advisory
- https://github.com/steveukx/git-js/pull/767PatchThird Party Advisory
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199PatchThird Party Advisory
FAQ
What is CVE-2022-24433?
CVE-2022-24433 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 p...
How severe is CVE-2022-24433?
CVE-2022-24433 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24433?
Check the references section above for vendor advisories and patch information. Affected products include: Simple-Git Project Simple-Git.