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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
EUVD-2022-1286 | 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. |
![]() |
GHSA-3f95-r44v-8mrg | Command injection in simple-git |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-09-16T21:57:22.111Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-24433

No data.

Status : Modified
Published: 2022-03-11T17:16:06.510
Modified: 2024-11-21T06:50:24.690
Link: CVE-2022-24433

No data.

No data.