CVE-2022-24437
published 2022-05-01CVE-2022-24437: 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…
PriorityP263critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.86%
88.9th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| git-pull-or-clone_project | git-pull-or-clone | < 2.0.2 | 2.0.2 |
| git-pull-or-clone_project | git-pull-or-clone | >= 0 < 2.0.2 | 2.0.2 |
| git-pull-or-clone_project | git-pull-or-clone | >= unspecified < 2.0.2 | 2.0.2 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
OS Command Injection in git-pull-or-clone
osv·2022-05-03
CVE-2022-24437 [CRITICAL] OS Command Injection in git-pull-or-clone
OS Command Injection in git-pull-or-clone
The package git-pull-or-clone before 2.0.2 is 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.
## Credits
Credit @lirantal for discovering this vulnerability.
GHSA
OS Command Injection in git-pull-or-clone
ghsa·2022-05-03
CVE-2022-24437 [CRITICAL] CWE-77 OS Command Injection in git-pull-or-clone
OS Command Injection in git-pull-or-clone
The package git-pull-or-clone before 2.0.2 is 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.
## Credits
Credit @lirantal for discovering this vulnerability.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bhttps://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307https://gist.github.com/lirantal/327e9dd32686991b5a1fa6341aac2e7bhttps://github.com/feross/git-pull-or-clone/commit/f9ce092be13cc32e685dfa26e7705e9c6e3108a3https://snyk.io/vuln/SNYK-JS-GITPULLORCLONE-2434307
2022-05-01
Published