CVE-2022-24066
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.90%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.90% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-88
- Affected
- simple-git project/simple-git
- Source
- report@snyk.io
References
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bExploit, Third Party Advisory
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306Patch, Third Party Advisory
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bExploit, Third Party Advisory
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.