CVE-2022-24433Published Mar 11, 2022 · Mar 11Updated Oct 28
Command Injection
simple-git
High8.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| simple-git npm |
|
|
Original 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.
From the CVE record · snyk