HIGH 8.1

CVE-2022-24066

Command injection in simple-git

Description

simple-git (maintained as git-js named repository on GitHub) is a light weight interface for running git commands in any node.js application.The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 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. A fix was released in simple-git@3.5.0.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » simple-gitvia npm simple-git
< 3.5.0
3.5.0
org.webjars.npm » simple-gitvia npm simple-git
< 3.5.0
3.5.0

Blast radius

1affected artifacts
3affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV