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://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1
https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d
Related Vulnerabilities
CVE-2020-8125 Vulnerability in maven package org.webjars.npm:klona
CVE-2021-43306 Vulnerability in maven package org.webjars:jquery-validation
CVE-2020-7760 Vulnerability in maven package org.webjars.npm:codemirror
CVE-2019-6283 Vulnerability in npm package node-sass
CVE-2023-26115 Vulnerability in maven package org.webjars.npm:word-wrap