Command Injection Vulnerability in simple-git before 3.3.0

Command Injection Vulnerability in simple-git before 3.3.0

CVE-2022-24433 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.