CVE-2020-4059
Command Injection in mversion
HIGH 7.3EPSS 2.6%
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.
- Affected
- mikaelbr · mversion
- CVSS v3.1 NVD
- 7.3 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS v2.0 NVD
- 7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P - EPSS
- 2.60% chance of exploitation in the next 30 days, 85th percentile
- Published
- 2020-06-18
- Updated
- 2024-08-04
Proof-of-concept exploits (1)
- ossf-cve-benchmark/CVE-2020-40590★ · 2020-12-01
Security advisories
- mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338
- mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6
- advisories/GHSA-qjg4-w4c6-f6c6