The package workspace-tools before 0.18.4 are vulnerable to Command Injection via git argument injection. When calling the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function, both the remote and remoteBranch parameters are passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: snyk
Published: 2022-05-13T20:00:19.528859Z
Updated: 2024-09-16T17:19:17.377Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-25865
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-05-13T20:15:08.243
Modified: 2024-11-21T06:53:08.243
Link: CVE-2022-25865
Redhat
No data.