Command injection in simple-git
`simple-git` (maintained as [git-js](https://github.com/steveukx/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](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. A fix was released in simple-git@3.5.0.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-24066US | critical9.8 | — | ||
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… | ||||
references
External citations — patches, advisories, analysis.
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bWEB
- https://github.com/steveukx/git-jsPACKAGE
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5WEB
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.5.0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24066ADVISORY
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820WEB
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan