PT-2022-16447
CVE-2022-24066
·
Published
2022-04-01
·
Updated
2026-11-11
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
simple-git versions prior to 3.5.0
Description
The issue arises from an incomplete fix of a previous command injection vulnerability, which only addressed the git fetch attack vector. The
--upload-pack feature of git, also supported for git clone, was not covered by the prior fix, leaving it vulnerable to command injection.Recommendations
For versions prior to 3.5.0, update to simple-git@3.5.0 to resolve the issue. As a temporary workaround, consider restricting the use of the
--upload-pack feature in git clone operations until the update is applied.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾