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.
References (4)
Core 4
Core References
Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306
Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/lirantal/a930d902294b833514e821102316426b
Patch, Third Party Advisory x_refsource_misc
https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5
Scores
CVSS v3
8.1
EPSS
0.0395
EPSS Percentile
89.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-88
Status
published
Products (2)
npm/simple-git
0 - 3.5.0npm
simple-git_project/simple-git
< 3.5.0
Published
Apr 01, 2022
Tracked Since
Feb 18, 2026