high8.1
CVE-2022-25900
Command injection in git-clone
Impact
All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the `--upload-pack` feature of git. ## Credits Credit to @lirantal for discovering this vulnerability.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | git-clone | <= 0.2.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Git-Clone Project | Git-Clone | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/lirantal/9441f3a1212728476f7a6caa4acb2ccc
- https://snyk.io/vuln/SNYK-JS-GITCLONE-2434308
- https://github.com/advisories/GHSA-8jmw-wjr8-2x66
- https://nvd.nist.gov/vuln/detail/CVE-2022-25900
- https://github.com/jaz303/git-clone/commit/fd330459593aef7c7a8c54d786e3c4d5722749f9