CVE-2022-24433
highpriority · track · 40EPSS 0.037 · 90 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3f95-r44v-8mrgCommand injection in simple-git2022-03-12ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-24433/cnnvd
- https://github.com/steveukx/git-js/pull/767cnnvd
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245cnnvd
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022031513cnnvd
- https://github.com/steveukx/git-js/pull/767enisa_euvd
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.3.0enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan