CVE-2020-4059 HIGH

CVE-2020-4059: Command Injection in mversion

Vendor Mikaelbr
Product mversion
Weakness CWE-77
Published June 18, 2020
Last update August 4, 2024

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 18, 2020 CVE published
August 4, 2024 Record updated