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.
References
Link | Resource |
---|---|
https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338 | Patch Third Party Advisory |
https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6 | Third Party Advisory |
https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338 | Patch Third Party Advisory |
https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6 | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:32
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338 - Patch, Third Party Advisory | |
References | () https://github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6 - Third Party Advisory |
Information
Published : 2020-06-18 20:15
Updated : 2024-11-21 05:32
NVD link : CVE-2020-4059
Mitre link : CVE-2020-4059
CVE.ORG link : CVE-2020-4059
JSON object : View
Products Affected
mversion_project
- mversion
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')