cve/2022/CVE-2022-1440.md

18 lines
946 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-1440](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1440)
![](https://img.shields.io/static/v1?label=Product&message=yarkeev%2Fgit-interface&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%202.1.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-78%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20OS%20Command&color=brighgreen)
### 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.
### POC
#### Reference
- https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1
#### Github
No PoCs found on GitHub currently.