High severityNVD Advisory· Published Mar 11, 2022· Updated Sep 16, 2024
Command Injection
CVE-2022-24433
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
simple-gitnpm | < 3.3.0 | 3.3.0 |
Affected products
2- simple-git/simple-gitdescription
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-3f95-r44v-8mrgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24433ghsaADVISORY
- github.com/steveukx/git-js/pull/767ghsax_refsource_MISCWEB
- github.com/steveukx/git-js/releases/tag/simple-git%403.3.0ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.