CVE-2022-24433
published high CVSS 3.1 · 8.1Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | simple-gitunspecified to < 3.3.0 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | simple-git | unspecified to < 3.3.0 (affected · custom) | snyk · cna |
Weaknesses
1- Command Injection
References
4Provider assertions
2snyk · cna
Command Injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7db8a58b2707cede18e4b958e3b8d047d8598c66a9e0f079d634bd4cae47153c
- Ingested
- 23 Sep 2026, 07:58:49 UTC
- Source record
- Official CVE record