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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-2257 | 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. |
Github GHSA |
GHSA-3x62-x456-q2vm | OS Command Injection in git-pull-or-clone |
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-16T19:15:08.649Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-24437
No data.
Status : Modified
Published: 2022-05-01T16:15:08.423
Modified: 2024-11-21T06:50:25.170
Link: CVE-2022-24437
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA