CVE-2022-25860
High
Description
Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
SeverityHigh
CVSS8.1
Exploit probability—
ProductSimple-git
PublishedJan 26, 2023
First seenJan 26, 2023
Weakness typeCWE-94Code injection
How to fix
Update
- simple-git_project simple-git3.16.0 or later
- simple-git3.16.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| simple-git_project simple-git | v < 3.16.0 | 3.16.0 |
| simple-gitnpm | v < 3.16.0 | 3.16.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.