{"id":"CVE-2022-25900","aliases":["CVE-2022-25900","GHSA-8jmw-wjr8-2x66"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection","summary":"All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.","source":"cvelist"},{"lang":"en","text":"All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the `--upload-pack` feature of git.\n\n## Credits\n\nCredit to @lirantal for discovering this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-07-01T20:05:13.319Z","modified":"2026-06-17T04:34:28.077Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"}],"cwes":["CWE-77","CWE-88"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"git-clone","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.2.0"}],"ecosystem":"npm","package":"git-clone","purl":"pkg:npm/git-clone","source":"ghsa"},{"ranges":[],"vendor":"git-clone_project","product":"git-clone","cpe":"cpe:2.3:a:git-clone_project:git-clone:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GITCLONE-2434308","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/lirantal/9441f3a1212728476f7a6caa4acb2ccc","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25900","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jaz303/git-clone/commit/fd330459593aef7c7a8c54d786e3c4d5722749f9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jaz303/git-clone","tags":["package"],"sources":["ghsa"]}],"credits":["Liran Tal"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25900","url":"https://www.cve.org/CVERecord?id=CVE-2022-25900","licence":"CVE Terms of Use","modified":"2024-09-17T04:00:09.068Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8jmw-wjr8-2x66","url":"https://github.com/advisories/GHSA-8jmw-wjr8-2x66","licence":"CC-BY-4.0","modified":"2026-03-13T21:57:04.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25900","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25900","licence":"Public domain","modified":"2026-06-17T04:34:28.077Z"}],"updatedAt":"2026-11-25T22:58:12.679Z","epss":{"score":0.03693,"percentile":0.90008,"date":"2026-12-01T12:00:22.000Z"}}