{"id":"CVE-2020-4059","aliases":["GHSA-qjg4-w4c6-f6c6"],"url":"https://o3.security/vulnerability/CVE-2020-4059","summary":"Command injection in mversion","details":"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.","published":"2020-06-18T20:15:10.760Z","modified":"2026-07-09T06:34:52.872412Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"mversion","fixedVersion":"2.0.0"}],"fix":{"url":"https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338","label":"mikaelbr/mversion@6c76c9e"},"references":[{"type":"ADVISORY","url":"https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6"},{"type":"FIX","url":"https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T06:34:52.872412Z"}}