All CVEs / Git-pull-or-clone Project
CVE-2022-24437Git-pull-or-clone Project Git-pull-or-clone
Critical 9.8 No auth needed
Follow: this CVE · Git-pull-or-clone Project · Git-pull-or-clone Project Git-pull-or-clone We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- May 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Git-pull-or-clone.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | git-pull-or-clone |
< 2.0.2 |
2.0.2 |
npm install git-pull-or-clone@2.0.2 |
Per OSV / GitHub Advisories (GHSA-3x62-x456-q2vm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| git-pull-or-clone_project | git-pull-or-clone | < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Exploit Third Party Advisory