CVE-2022-24433
Last modified
CVE-2022-24433 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 3.50% chance of exploitation in the next 30 days.
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.
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.3.0 |
References
- https://github.com/steveukx/git-js/pull/767Patch, Third Party Advisory
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199Patch, Third Party Advisory
- https://github.com/steveukx/git-js/pull/767Patch, Third Party Advisory
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24433?
How severe is CVE-2022-24433?
How do I fix CVE-2022-24433?
Are you affected by CVE-2022-24433?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
