Skip to main content
← All vulnerabilities
CVE-2020-4059GHSA-QJG4-W4C6-F6C6

Command Injection in mversion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • mikaelbr mversion

    fixed in 2.0.0

  • mversionnpm

    fixed in 2.0.0

References 2

GitHub · mikaelbr/mversion