mikaelbr/mversion

mikaelbr/mversion

Releases35
Frequency2 months 2 weeks
Last Release
Stars203
A cross packaging module version bumper. CLI or API for bumping versions of package.json, bower.json, *.jquery.json etc.

CVE History

CVEPublishedCVSS v3CVSS v2
8.4 HIGH4.6 MEDIUM

The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.

7.3 HIGH7.5 HIGH

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.