CVE-2020-4059

HIGH

mversion < 2.0.0 - Remote Code Execution via Git Commit Message Injection

Title source: llm
STIX 2.1

Description

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 (2)

Core 2

Scores

CVSS v3 7.3
EPSS 0.0260
EPSS Percentile 83.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Details

CWE
CWE-77
Status published
Products (2)
mversion_project/mversion < 2.0.0
npm/mversion 0 - 2.0.0npm
Published Jun 18, 2020
Tracked Since Feb 18, 2026