CVE-2020-4059

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-4059
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-4059.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-4059
Aliases
Related
Published
2020-06-18T20:15:10.760Z
Modified
2025-11-14T11:00:15.731691Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/mikaelbr/mversion

Affected ranges

Type
GIT
Repo
https://github.com/mikaelbr/mversion
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.5
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.2.0
v0.2.1
v0.2.2
v0.3.0
v0.3.1
v0.4.1
v0.4.2
v0.4.3
v0.5.0
v0.5.1

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.10.1
v1.11.0
v1.12.0
v1.13.0
v1.13.1
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v1.9.0