simple-git
Affected
- introduced
0, fixed3.3.0(semver)
Fixed versions
3.3.0
Fix
- Fixed version
3.3.0npm install [email protected]
Advisory
Also known as: CVE-2022-24433
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.
High Basis: The source's own band: HIGH
0, fixed 3.3.0 (semver)3.3.0
3.3.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0