Skip to content

CVE-2020-4059 Command Injection in mversion

HighCVSS 7.3 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
npm mversion(npm) < 2.0.0 2.0.0
mversion project mversion < 2.0.0 2.0.0
mikaelbr mversion = < 2.0.0 No fix listed

References