CVE-2022-24066
Last modified
CVE-2022-24066 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 4.07% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Simple-Git Project | Simple-Git | < 3.5.0 |
References
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bExploit, Third Party Advisory
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306Patch, Third Party Advisory
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bExploit, Third Party Advisory
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24066?
How severe is CVE-2022-24066?
How do I fix CVE-2022-24066?
Are you affected by CVE-2022-24066?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
