CVE-2022-24437

CRITICAL

git-pull-or-clone <2.0.2 - Command Injection

Title source: llm

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.

Scores

CVSS v3 9.8
EPSS 0.1039
EPSS Percentile 93.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-88
Status published

Affected Products (2)

git-pull-or-clone_project/git-pull-or-clone < 2.0.2
npm/git-pull-or-clone < 2.0.2npm

Timeline

Published May 01, 2022
Tracked Since Feb 18, 2026