Vulnerability Description
The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of the secure child process API spawn(). However, the outpath parameter passed to it may be a command-line argument to the git clone command and result in arbitrary command injection.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Git-Pull-Or-Clone Project | Git-Pull-Or-Clone | < 2.0.2 |
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bExploitThird Party Advisory
- https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307ExploitThird Party Advisory
- https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bExploitThird Party Advisory
- https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307ExploitThird Party Advisory
FAQ
What is CVE-2022-24437?
CVE-2022-24437 is a vulnerability with a CVSS score of 9.8 (CRITICAL). The package git-pull-or-clone before 2.0.2 are vulnerable to Command Injection due to the use of the --upload-pack feature of git which is also supported for git clone. The source includes the use of ...
How severe is CVE-2022-24437?
CVE-2022-24437 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-24437?
Check the references section above for vendor advisories and patch information. Affected products include: Git-Pull-Or-Clone Project Git-Pull-Or-Clone.