CVE-2022-24066
highpriority · track · 40EPSS 0.039 · 90 %ileEUUSEPSS · scored 2026-10-27
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.
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-28xr-mwxg-3qc8Command injection in simple-git2022-04-02ghsa · osvUS
`simple-git` (maintained as [git-js](https://github.com/steveukx/git-js) named repository on GitHub) is a light weight interface for running git commands in any node.js application.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. A fix was released in simple-git@3.5.0.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-24066/cnnvd
- https://gist.github.com/lirantal/a930d902294b833514e821102316426bcnnvd
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5cnnvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820cnnvd
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306cnnvd
- https://gist.github.com/lirantal/a930d902294b833514e821102316426benisa_euvd
- https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5enisa_euvd
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan