CVE-2022-24437
Last modified
CVE-2022-24437 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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(). EPSS estimates a 3.86% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Git-Pull-Or-Clone Project | Git-Pull-Or-Clone | < 2.0.2 |
References
- https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bExploit, Third Party Advisory
- https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307Exploit, Third Party Advisory
- https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bExploit, Third Party Advisory
- https://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24437?
How severe is CVE-2022-24437?
How do I fix CVE-2022-24437?
Are you affected by CVE-2022-24437?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
