{"id":"EUVD-2020-0509","enisaUuid":"2fcae304-eadc-34be-afee-076444a35f29","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.","datePublished":"Jun 18, 2020, 7:25:15 PM","dateUpdated":"Aug 4, 2024, 7:52:20 AM","baseScore":7.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","references":"https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6\nhttps://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338\n","aliases":"CVE-2020-4059\nGHSA-qjg4-w4c6-f6c6\n","assigner":"GitHub_M","epss":2.6,"enisaIdProduct":[{"id":"472921f3-6963-330b-9383-2cbbccce921b","product":{"name":"mversion","vendor":{"name":"mikaelbr"}},"product_version":"\u003c 2.0.0"}],"enisaIdVendor":[{"id":"5057da58-abbd-3b42-ab91-64195c1a02ec","vendor":{"name":"mikaelbr"}}],"enisaIdVulnerability":[{"id":"832a1f6e-9fe0-3e79-b2a0-f62db21b3e7f","vulnerability":{"id":"CVE-2020-4059","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.","datePublished":"Jun 18, 2020, 7:25:15 PM","dateUpdated":"Aug 4, 2024, 7:52:20 AM","status":"PUBLISHED","baseScore":7.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","references":"https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6\nhttps://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338\n","enisa_id":"EUVD-2020-0509\n","assigner":"GitHub_M","epss":2.6,"dataProcessed":"Nov 15, 2026, 7:22:45 AM","vulnerabilityProduct":[{"id":"4cdf2988-df02-3456-8bd5-e0a1e5f866ea","product":{"name":"mversion","vendor":{"name":"mikaelbr"}},"product_version":"\u003c 2.0.0"}],"vulnerabilityVendor":[{"id":"cd466172-641f-3b24-8f41-985c1c7d38a5","vendor":{"name":"mikaelbr"}}]}},{"id":"8c87a2cc-5471-379d-8e27-f5096ea1db2a","vulnerability":{"id":"GHSA-qjg4-w4c6-f6c6","description":"Command injection in mversion","datePublished":"Jun 18, 2020, 7:23:17 PM","dateUpdated":"Jan 8, 2021, 9:00:24 PM","baseScore":null,"references":"https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-4059\nhttps://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338\n","enisa_id":"EUVD-2020-0509\n","aliases":"CVE-2020-4059\nGHSA-qjg4-w4c6-f6c6\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:05:47 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}