Simple Git Argv Parser
Monthly
Argument injection in simple-git before 4.1.0 lets an attacker who controls arguments passed into listRemote() or raw() slip an --exec option into non-push git operations (ls-remote, archive --remote, fetch-pack and send-pack), causing git to run an attacker-named program on the host - a command-execution impact (CVSS 4.0 base 9.2, assessed independently as CVSS:3.1 8.1 with C:H/I:H/A:H). The root cause is that the allowUnsafePack guard only blocked --exec for push, leaving the other commands that also accept --exec unprotected; the companion @simple-git/argv-parser package is affected as well and is fixed in 3.0.0. Practical exposure depends on the consuming application: exploitation only works where untrusted data reaches the arguments of those specific calls, and no public exploit code has been identified at time of analysis, but the vuln.today decision label is act_now with a vendor patch available.
Argument injection in simple-git before 4.1.0 lets an attacker who controls arguments passed into listRemote() or raw() slip an --exec option into non-push git operations (ls-remote, archive --remote, fetch-pack and send-pack), causing git to run an attacker-named program on the host - a command-execution impact (CVSS 4.0 base 9.2, assessed independently as CVSS:3.1 8.1 with C:H/I:H/A:H). The root cause is that the allowUnsafePack guard only blocked --exec for push, leaving the other commands that also accept --exec unprotected; the companion @simple-git/argv-parser package is affected as well and is fixed in 3.0.0. Practical exposure depends on the consuming application: exploitation only works where untrusted data reaches the arguments of those specific calls, and no public exploit code has been identified at time of analysis, but the vuln.today decision label is act_now with a vendor patch available.