CVE-2022-24066
CRITICAL
Published Apr 1, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Apr 1, 2022 4y ago
Last Modified Jun 17, 2026 2w ago
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 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
Public Exploit Known
Patch Available
Weaknesses 1
CWE-88
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| simple-git_project | simple-git | * | <3.5.0 |
References 4
- gist.github.com https://gist.github.com/lirantal/a930d902294b833514e821102316426b
- github.com https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820
- snyk.io https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306
Remediation
- github.com https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820
- snyk.io https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306