High severity8.1NVD Advisory· Published Mar 11, 2022· Updated Jun 17, 2026
CVE-2022-24433
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
3- cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*Range: <3.3.0
- simple-git/simple-gitdescription
Patches
Vulnerability mechanics
References
6- github.com/steveukx/git-js/pull/767nvdPatchThird Party AdvisoryWEB
- github.com/steveukx/git-js/releases/tag/simple-git%403.3.0nvdPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245nvdPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-3f95-r44v-8mrgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24433ghsaADVISORY
News mentions
0No linked articles in our index yet.