CVE-2022-24437

Command Injection

Published May 1, 2022 CVSS 3.1 · 9.8 Critical EPSS 3.7% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD 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 Github GHSA GHSA-3x62-x456-q2vm OS Command Injection in git-pull-or-clone
History

No history.

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 7:15 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
May 1, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:31 AM