Live threats

All CVEs / Mversion Project

CVE-2020-4059Mversion Project Mversion

High 7.3 No auth needed

Priority
59
CVSS 3.1
7.3
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jun 18, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mversion.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mversion < 2.0.0 2.0.0 npm install mversion@2.0.0

Per OSV / GitHub Advisories (GHSA-qjg4-w4c6-f6c6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mversion_projectmversion< 2.0.0

Official sources

References

Links published by the sources. Open them with care.