Vulnerability · Published Apr 1, 2022 · Assigned by snyk

CVE-2022-24066Command Injection

High 8.1

In plain English

A high-severity security flaw in simple-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)3.9%top 9.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsimple-git3.5.0GHSA-28xr-mwxg-3qc8

Affected products (as reported)

VendorProductVersions
n/a simple-git unspecified – before 3.5.0

References