CVE-2022-24066: Command Injection
Vulnerability summary
CVE-2022-24066 is a critical (CVSS 9.8) vulnerability in simple-git_project simple-git. EPSS estimates a 3.93% chance of exploitation in the next 30 days, higher than 90.6% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?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.93%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 3.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundA930D902294B833514E821102316426B
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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