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.
References
Link | Resource |
---|---|
https://gist.github.com/lirantal/a930d902294b833514e821102316426b | Exploit Third Party Advisory |
https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 | Patch Third Party Advisory |
https://gist.github.com/lirantal/a930d902294b833514e821102316426b | Exploit Third Party Advisory |
https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:49
Type | Values Removed | Values Added |
---|---|---|
References | () https://gist.github.com/lirantal/a930d902294b833514e821102316426b - Exploit, Third Party Advisory | |
References | () https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306 - Patch, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 8.1 |
08 Aug 2023, 14:21
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-88 |
Information
Published : 2022-04-01 20:15
Updated : 2024-11-21 06:49
NVD link : CVE-2022-24066
Mitre link : CVE-2022-24066
CVE.ORG link : CVE-2022-24066
JSON object : View
Products Affected
simple-git_project
- simple-git
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')