CVE-2022-25900
8.1high
Command Injection
- Severity
- 8.1high CVSS:3.1 by snyk
- Exploit likelihood
- 3.69% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-8jmw-wjr8-2x66
Description
All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| git-clone | before unspecified | CVE List |
| git-clone (npm) | up to 0.2.0 | GitHub Advisory Database |
| git-clone_project git-clone | Not specified | NVD |
All scores
| snyk | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 10.0high CVSS:2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.
GitHub Advisory Database
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.
NVD (es)
Todas las versiones del paquete git-clone son vulnerables a una inyección de comandos debido al uso inseguro de la función --upload-pack de git
References
| https://snyk.io/vuln/SNYK-JS-GITCLONE-2434308 | exploit, patch, third-party-advisory, web | |
| https://gist.github.com/lirantal/9441f3a1212728476f7a6caa4acb2ccc | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25900 | advisory | |
| https://github.com/jaz303/git-clone/commit/fd330459593aef7c7a8c54d786e3c4d5722749f9 | web | |
| https://github.com/jaz303/git-clone | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25900 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8jmw-wjr8-2x66 changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2022-25900 changed 2026-06-17 | Public domain |