Description
Command Injection vulnerability in git-interface@2.1.1 in GitHub repository yarkeev/git-interface prior to 2.1.2. If both are provided by user input, then the use of a `--upload-pack` command-line argument feature of git is also supported for `git clone`, which would then allow for any operating system command to be spawned by the attacker.
Remediation
References
https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d
https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1
Related Vulnerabilities
CVE-2021-37578 Vulnerability in maven package org.apache.juddi:juddi-core
CVE-2022-23647 Vulnerability in npm package prismjs
CVE-2022-25892 Vulnerability in npm package muhammara
CVE-2022-29167 Vulnerability in maven package org.webjars.npm:hawk
CVE-2020-36732 Vulnerability in maven package org.webjars.bowergithub.brix:crypto-js