published 11 Mar 2022 · updated 16 Sep 2024
Command Injection
8.1HighCVSS 8.1EPSS 4%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 3.3.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| <3.3.0 | 3.3.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket