Skip to content

CVE-2022-24437 Command Injection

CriticalCVSS 9.8 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
git-pull-or-clone project git-pull-or-clone < 2.0.2 2.0.2 Fixed
npm git-pull-or-clone(npm) < 2.0.2 2.0.2 Fixed

Affected products

ProductAffected versionsFixed in
npm git-pull-or-clone(npm) < 2.0.2 2.0.2
git-pull-or-clone project git-pull-or-clone < 2.0.2 2.0.2

References