CVE-2020-4059 Command Injection in mversion
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2020-4059?
CVE-2020-4059 is a high-severity vulnerability in mikaelbr mversion, published on 18 Jun 2020.
Official 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.
Weakness: CWE-77
Which versions are affected by CVE-2020-4059?
2 open source packages ship an affected version, including mversion. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mversion npm | All versions | 2.0.0 |
mversion npm | All versions | 2.0.0 |
Products include Mversion Project Mversion.
How do I fix CVE-2020-4059?
Upgrade mversion to 2.0.0 or later.
Is CVE-2020-4059 being exploited?
There is no known exploitation of CVE-2020-4059 in the wild and no public exploit code.
Other vulnerabilities in mikaelbr mversion
Sources
Also known as GHSA-qjg4-w4c6-f6c6.