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.
References (3)
Scores
CVSS v3
9.8
EPSS
0.1039
EPSS Percentile
93.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-88
Status
published
Products (2)
git-pull-or-clone_project/git-pull-or-clone
< 2.0.2
npm/git-pull-or-clone
0 - 2.0.2npm
Published
May 01, 2022
Tracked Since
Feb 18, 2026