Command injection in simple-git
The package simple-git before 3.3.0 is 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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-24433US | critical9.8 | — | ||
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 bra… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/steveukx/git-jsPACKAGE
- https://github.com/steveukx/git-js/pull/767WEB
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24433ADVISORY
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245WEB
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan