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.
Remediation
References
https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338
https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6
Related Vulnerabilities
CVE-2016-8747 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2021-37695 Vulnerability in npm package ckeditor4
CVE-2021-4305 Vulnerability in npm package robots-txt-guard
CVE-2023-35155 Vulnerability in maven package org.xwiki.platform:xwiki-platform-sharepage-api
CVE-2022-41254 Vulnerability in maven package org.jenkins-ci.plugins:cons3rt