CVE-2022-24437
OS Command Injection in git-pull-or-clone
9.8
CRITICAL
CVSS 3.1
EPSS 10.4%
Description
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.
How to fix CVE-2022-24437
To remediate CVE-2022-24437, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.2 or later
Is CVE-2022-24437 being exploited?
Moderate — EPSS is 10.4%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |