CVE-2022-24437
Description
The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to it may be a command-line argument to the git clone command and result in arbitrary command injection.
How to fix
- git-pull-or-clone_project git-pull-or-clone2.0.2 or later
- git-pull-or-clone2.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| git-pull-or-clone_project git-pull-or-clone | v < 2.0.2 | 2.0.2 |
| git-pull-or-clonenpm | v < 2.0.2 | 2.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.