Skip to content
OpenAdvisories
High · 7.3 CVE-2020-4059 EUVD-2020-0509GHSA-qjg4-w4c6-f6c6

Command Injection in mversion

Published Jun 18, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
mikaelbr mversion < 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mversion < 2.0.0 2.0.0 GHSA-qjg4-w4c6-f6c6

References