CVE-2022-24433: simple-git_project simple-git Argument Injection
Vulnerability summary
CVE-2022-24433 is a critical (CVSS 9.8) Argument Injection vulnerability in simple-git_project simple-git. EPSS estimates a 3.51% chance of exploitation in the next 30 days, higher than 89% of scored vulnerabilities.
Timeline
- 11-03-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · NpmEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
3.51%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
0.00 pp
From 3.51% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Npm1 product
- simple-git< 3.3.0
Simple-git_project1 product
- simple-git< 3.3.0
2 vendors · 2 products
References
6 links- github.com/steveukx/git-js/releases/tag/simple-git%403.3.0X Refsource MISCWEBPatchThird Party Advisory
- github.com/steveukx/git-jsPACKAGE