CVE-2022-24433
CRITICAL
Published Mar 11, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Mar 11, 2022 4y ago
Last Modified Jun 17, 2026 2w ago
Description
The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-88
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| simple-git_project | simple-git | * | <3.3.0 |
References 4
- github.com https://github.com/steveukx/git-js/pull/767
- github.com https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245
- snyk.io https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199
Remediation
- github.com https://github.com/steveukx/git-js/pull/767
- github.com https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245
- snyk.io https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199