CVE-2022-24433

Command Injection

Published Mar 11, 2022 CVSS 3.1 · 8.1 High EPSS 3.7% KEV · Not listed
Description
The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1286 The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.
Github GHSA Github GHSA GHSA-3f95-r44v-8mrg Command injection in simple-git
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 9:57 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Mar 11, 2022, 5:16 PM
Modified
Jun 17, 2026, 4:31 AM