CVE-2022-24437

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductGit-pull-or-clone
PublishedMay 1, 2022
First seenMay 1, 2022

How to fix

Update
  • git-pull-or-clone_project git-pull-or-clone2.0.2 or later
  • git-pull-or-clone2.0.2 or later

Affected products

ProductAffected versionsFixed in
git-pull-or-clone_project git-pull-or-clonev < 2.0.22.0.2
git-pull-or-clonenpmv < 2.0.22.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.