RCE in Mikaelbr Mversion

CVE-2020-4059

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)

EPSS: 0.026 (83.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-4059?
CVE-2020-4059 is a high-severity vulnerability in Mikaelbr Mversion, classified under Command Injection. CVSS score: 7.3/10. Published 2020-06-18.
How severe is CVE-2020-4059?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2020-4059 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.