Command Injection in mversion
cve-program · CVE-2020-4059
PublishedIn 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.
Read the publisher's advisoryeuvd · EUVD-2020-0509
PublishedIn 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.
Read the publisher's advisorynvd · CVE-2020-4059
PublishedIn 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.
Read the publisher's advisoryosv · GHSA-qjg4-w4c6-f6c6
Published### Impact This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. ### Patches Patched by version 2.0.0. Previous releases are deprecated in npm. ### Workarounds Make sure to escape git commit messages when using the commitMessage option for the update function.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-4059 · CVE overview and exploitation status
cve-program · CVE-2020-4059
- https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6
- https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338
euvd · EUVD-2020-0509
- https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6
- https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338
nvd · CVE-2020-4059
- https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338
- https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6
osv · GHSA-qjg4-w4c6-f6c6
Related changes
Linked by CVE identifierNo related changes are available here.