CVE-2022-24066: simple-git_project simple-git Argument Injection
Vulnerability summary
CVE-2022-24066 is a critical (CVSS 9.8) Argument Injection vulnerability in simple-git_project simple-git. EPSS estimates a 3.90% chance of exploitation in the next 30 days, higher than 90.1% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 01-04-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.
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.90%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
0.00 pp
From 3.90% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundA930D902294B833514E821102316426B
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Npm1 product
- simple-git< 3.5.0
Simple-git_project1 product
- simple-git< 3.5.0
2 vendors · 2 products
References
7 links- gist.github.com/lirantal/a930d902294b833514e821102316426bX Refsource MISCWEBExploitThird Party Advisory
- github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5X Refsource MISCWEBPatchThird Party Advisory
- github.com/steveukx/git-jsPACKAGE