{"id":"GHSA-qjg4-w4c6-f6c6","summary":"Command injection in mversion","details":"### Impact\nThis issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.\n\n### Patches\nPatched by version 2.0.0. Previous releases are deprecated in npm.\n\n### Workarounds\nMake sure to escape git commit messages when using the commitMessage option for the update function.","aliases":["CVE-2020-4059"],"modified":"2026-05-07T05:02:47.537607595Z","published":"2020-06-18T19:23:17Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-17T20:22:48Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4059"},{"type":"WEB","url":"https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338"}],"affected":[{"package":{"name":"mversion","ecosystem":"npm","purl":"pkg:npm/mversion"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-qjg4-w4c6-f6c6/GHSA-qjg4-w4c6-f6c6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}