RCE in Mikaelbr Mversion
CVE-2020-4059
- CVSS v3
- 7.3 High
- Public exploits
- None known
- EPSS
- 0.026 · 85.6th percentile
- Published
- 2020-06-18
What to do
- Fixed in
2.0.0- Affected
- 2 affected products
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.026, 85.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mikaelbr Mversion — versions < 2.0.0
- Mversion Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, ossf-cve-benchmark/CVE-2020-4059). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/mikaelbr/mversion/security/advisories/GHSA-qjg4-w4c6-f6c6 (Third Party Advisory)
- github.com/mikaelbr/mversion/commit/6c76c9efd27c7ff5a5c6f187e8b7a435c4722338 (Patch, Third Party Advisory)