CVE-2022-24066
Simple-git Project Simple-git vulnerability
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 products
Simple-git. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Simple-git Project Simple-git runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 · Patch
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 · Patch
- snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 · Patch
- gist.github.com/lirantal/a930d902294b833514e821102316426b · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-24066
- cve.org/CVERecord?id=CVE-2022-24066
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.