Command injection in simple-git
The package simple-git before 3.3.0 is 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.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2022-24433US | critical9.8 | — | ||
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 bra… | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/steveukx/git-jsPACKAGE
- https://github.com/steveukx/git-js/pull/767WEB
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24433ADVISORY
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245WEB
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199WEB
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan