CVE-2022-24437 Command Injection
CriticalCVSS 9.8
EPSS 3.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| git-pull-or-clone project git-pull-or-clone | < 2.0.2 | 2.0.2 | Fixed |
| npm git-pull-or-clone(npm) | < 2.0.2 | 2.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm git-pull-or-clone(npm) | < 2.0.2 | 2.0.2 |
| git-pull-or-clone project git-pull-or-clone | < 2.0.2 | 2.0.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- gist.github.com exploit third-party-advisory
- snyk.io exploit third-party-advisory
- github.com
- github.com product