Files
CVEs-PoC/2020/CVE-2020-4059.md
T
2024-05-25 21:48:12 +02:00

19 lines
1014 B
Markdown

### [CVE-2020-4059](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4059)
![](https://img.shields.io/static/v1?label=Product&message=mversion&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-77%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20a%20Command%20('Command%20Injection')&color=brighgreen)
### Description
In mversion before 2.0.0, there is a command injection vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This vulnerability is patched by version 2.0.0. Previous releases are deprecated in npm. As a workaround, make sure to escape git commit messages when using the commitMessage option for the update function.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ossf-cve-benchmark/CVE-2020-4059